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
Enable comment auto-refresher
Anonymous user #2
Permalink |
Lisa
Anonymous user #1
Permalink |
Lisa