# to follow the fashion of 1,2...1,2,3...repeat

from machine import Pin
import time

led1 = Pin(15, Pin.OUT)
led2 = Pin(13, Pin.OUT)
led3 = Pin(10, Pin.OUT)

while True:
    led1.on()
    time.sleep(1)
    led1.off()
    
    led2.on()
    time.sleep(1)
    led2.off()

    led1.on()
    time.sleep(1)
    led1.off()

    led2.on()
    time.sleep(1)
    led2.off()

    led3.on()
    time.sleep(1)
    led3.off()

BOOTSELLED1239USBRaspberryPiPico©2020RP2-8020/21P64M15.00TTT