import time
from machine import Pin
led =Pin(18,Pin.OUT)
led1=Pin(12,Pin.OUT)
while True:
led.value(1)
time.sleep(0.5)
led.value(0)
led1.value(1)
time.sleep(0.5)
led1.value(0)
led.value(1)
time.sleep(0.5)
import time
from machine import Pin
led =Pin(18,Pin.OUT)
led1=Pin(12,Pin.OUT)
while True:
led.value(1)
time.sleep(0.5)
led.value(0)
led1.value(1)
time.sleep(0.5)
led1.value(0)
led.value(1)
time.sleep(0.5)