-

CommentStreams:Ea7a189b9869b6830bcfafdcd90a6096

From Geekworm Wiki
Jump to navigation Jump to search

Not working

Traceback (most recent call last):

 File "Pld.py", line 13, in <module>
   GPIO.add_event_detect(4, GPIO.BOTH, callback=my_callback)
 File "/usr/lib/python2.7/dist-packages/Jetson/GPIO/gpio.py", line 500, in add_event_detect
   raise RuntimeError("You must setup() the GPIO channel as an input "

RuntimeError: You must setup() the GPIO channel as an input first

fixme