from machine import Pin
from time import sleep
redpin=Pin(2,Pin.OUT)
greenpin=Pin(4,Pin.OUT)
bluepin=Pin(5,Pin.OUT)
while True:
redpin.value(1)
greenpin.value(0)
bluepin.value(0)
sleep(20)
redpin.value(1)
greenpin.value(1)
bluepin.value(0)
sleep(5)
redpin.value(0)
greenpin.value(1)
bluepin.value(0)
sleep(20)