from machine import Pin
from utime import sleep
led1=Pin(0,Pin.OUT)
led2=Pin(1,Pin.OUT)
while 1<2:
led1.value(1)
sleep(0.5)
led1.value(0)
sleep(0.5)
led2.value(1)
sleep(0.5)
led2.value(0)
sleep(0.5)
from machine import Pin
from utime import sleep
led1=Pin(0,Pin.OUT)
led2=Pin(1,Pin.OUT)
while 1<2:
led1.value(1)
sleep(0.5)
led1.value(0)
sleep(0.5)
led2.value(1)
sleep(0.5)
led2.value(0)
sleep(0.5)