import time
from machine import Pin
led1=Pin(22, Pin.OUT)
led2=Pin(23, Pin.OUT)
while True:
led1.value(1)
time.sleep(0.2)
led1.value(0)
time.sleep(0.2)
led2.value(1)
time.sleep(0.2)
led2.value(0)
time.sleep(0.2)
import time
from machine import Pin
led1=Pin(22, Pin.OUT)
led2=Pin(23, Pin.OUT)
while True:
led1.value(1)
time.sleep(0.2)
led1.value(0)
time.sleep(0.2)
led2.value(1)
time.sleep(0.2)
led2.value(0)
time.sleep(0.2)