Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

RuntimeError: Please set pin numbering mode using GPIO.setmode(GPIO.BOARD) or GPIO.setmode(GPIO.BCM)

For me, the problem was that I was calling GPIO.cleanup()
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #Please #set #pin #numbering #mode
ADD COMMENT
Topic
Name
8+5 =