Latest raspberry pi tutorial Video : RPI LED TUTORIAL
Video Rating: / 5
follow me on twitter: @charliewmhughes
FLASH AN LED WITH RASPBERRY PI
code:
import RPi.GPIO as gpio
import time
gpio.setmode(gpio.BCM)
gpio.setup(4, gpio.OUT)
while True:
gpio.output(4, gpio.HIGH)
time.sleep(1)
gpio.output(4, gpio.LOW)
time.sleep(1)
Don’t hesitate to share it with your friend if you like this video
The post Latest Raspberry Pi Tutorial Video | RPI LED TUTORIAL appeared first on RASPBERRY PI NEWS.