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(4, GPIO.OUT)
- for x in range(0,10):
- time.sleep(5)
- GPIO.output(4,1)
- time.sleep(5)
- GPIO.output(4,0)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement