from machine import Pin
from utime import sleep
LED1=Pin(0,Pin.OUT)
LED2=Pin(1,Pin.OUT)
while True:
LED1.value(1)
LED2.value(0)
sleep(0.5)
LED1.value(0)
LED2.value(1)
sleep(0.5)
from machine import Pin
from utime import sleep
LED1=Pin(0,Pin.OUT)
LED2=Pin(1,Pin.OUT)
while True:
LED1.value(1)
LED2.value(0)
sleep(0.5)
LED1.value(0)
LED2.value(1)
sleep(0.5)