06-10-2016, 04:06 AM
Hi, i've installed this library but i'm not able to turn on a led. This is my code from python shell:
import RPi.GPIO as GPIO
GPIO.setmode(GPIO.BOARD)
GPIO.setup(20, GPIO.OUT) //i don't know if this is the right number for the pin 38
GPIO.output(20, True)
What i'm wrong?
import RPi.GPIO as GPIO
GPIO.setmode(GPIO.BOARD)
GPIO.setup(20, GPIO.OUT) //i don't know if this is the right number for the pin 38
GPIO.output(20, True)
What i'm wrong?