#traffic light using Raspberri pi
from machine import Pin
from utime import sleep
print("hello")
led1 = Pin(3,Pin.OUT)
led2 = Pin(9,Pin.OUT)
led3 = Pin(13,Pin.OUT)
while True:
led1.high()
sleep(20) # Wait for USB to become ready
led1.low()
led3.high()
sleep(2)
led3.low()
led2.high()
sleep(10)
led2.low()