from machine import Pin
from utime import sleep

print("Hello, Pi Pico!")

led = Pin(5, Pin.OUT)

led_board = machine.Pin("LED", machine.Pin.OUT)
led_board.on()

# rele
rele1 = machine.Pin(0, machine.Pin.OUT)

while True:
  led.toggle()
  led_board.toggle()
  rele1.value(0)
  sleep(1)

  led.toggle()
  led_board.toggle()
  rele1.value(1)
  sleep(1)
BOOTSELLED1239USBRaspberryPiPico©2020RP2-8020/21P64M15.00TTT
NOCOMNCVCCGNDINLED1PWRRelay Module