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)
BOOTSELLED1239USBRaspberryPiPico©2020RP2-8020/21P64M15.00TTT