Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- import RPi.GPIO as GPIO
- import time
- GPIO.setmode(GPIO.BCM)
- GPIO.setup(26, GPIO.OUT)
- GPIO.output(26, True)
- time.sleep(2)
- GPIO.output(26, False)
- time.sleep(2)
- GPIO.cleanup()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement