-

CommentStreams:Ea7a189b9869b6830bcfafdcd90a6096

From Geekworm Wiki
< T208-Software
Revision as of 20:53, 29 November 2021 by 69.139.34.149 (talk) (Migrated comment #2095)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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