unfortunately my RaspberryPi 3 Output Gpio´s doesn't work. If I setup them to an input they work but if I want to make an output it happens nothing not either a warning comes. When I put the LED at 3,3V and GND it light up. I hope you can help me :)
import RPi.GPIO as GPIO
import time
GPIO.setwarnings(False)
GPIO.setmode(GPIO.BOARD)
GPIO.setup(40, GPIO.OUT)
for i in range(3):
GPIO.output(40, GPIO.HIGH)
time.sleep(1)
GPIO.output(40, GPIO.LOW)
time.sleep(1)
GPIO.cleanup()
Comments
Post a Comment