from machine import Pin
import time
led = Pin(1, Pin.OUT)
while True:
led.value(1)
print("Allumé")
time.sleep(1)
led.value(0)
print("Eteinte")
time.sleep(1)
from machine import Pin
import time
led = Pin(1, Pin.OUT)
while True:
led.value(1)
print("Allumé")
time.sleep(1)
led.value(0)
print("Eteinte")
time.sleep(1)