Go to advanced search

by TimDeWeasel
Sat Feb 09, 2019 12:31 pm
Forum: Python
Topic: GPIO.setmode(GPIO.BCM) error
Replies: 18
Views: 10903

Re: GPIO.setmode(GPIO.BCM) error

;) That did it! thanks
by TimDeWeasel
Fri Feb 08, 2019 9:48 pm
Forum: Python
Topic: GPIO.setmode(GPIO.BCM) error
Replies: 18
Views: 10903

Re: GPIO.setmode(GPIO.BCM) error

When i try to run example code from CanaKit's included star-up booklet Raspberry Pi for Dummies. import RPi.GPIO import time LED_on = True LED_off = False GPIO.setmode (GPIO.BCM) GPIO.setupmode (18, GPIO.OUT) GPIO.output (18, LED_on) When I try to run it I get the following: Traceback (most recent c...

Go to advanced search