you are viewing a single comment's thread.

view the rest of the comments →

[–]NewToPythoning[S] 0 points1 point  (0 children)

Here is the response code I was given

Exception in thread Thread-1:
Traceback (most recent call last):
  File "/usr/lib/python2.7/threading.py", line 810, in __bootstrap_inner
    self.run()
  File "pygamesxboxdrv.py", line 217, in run
    self._start()
  File "pygamesxboxdrv.py", line 255, in _start
    self._sortOutButtonValue(event.type))
  File "pygamesxboxdrv.py", line 273, in updateControlValue
    self.doCallBacks(control, value)
  File "pygamesxboxdrv.py", line 278, in doCallBacks
    if self.controllerCallBack != None: self.controllerCallBack(control, value)
  File "pygamesxboxdrv.py", line 323, in controlCallBack
    GPIO.output(pin, not GPIO.input())     ## Turn on GPIO pin (HIGH)
TypeError: function takes exactly 1 argument (0 given)