from machine import Pin
import time
r =Pin(5, Pin.OUT)
g =Pin(5, Pin.OUT)
b =Pin(5, Pin.OUT)
while True:
r.value(0)
g.value(1)
b.value(1)
time.sleep(2)
r.value(1)
g.value(1)
b.value(1)
time.sleep(1)
r.value(1)
g.value(0)
b.value(1)
time.sleep(2)
r.value(1)
g.value(1)
b.value(1)
time.sleep(1)
r.value(1)
g.value(1)
b.value(0)
time.sleep(2)
r.value(1)
g.value(1)
b.value(1)
time.sleep(1)