raspberry_pi_pico/board_led.py
2025-01-20 16:39:29 +08:00

8 lines
128 B
Python

import machine
from time import sleep
led = machine.Pin("LED", machine.Pin.OUT)
while True:
led.toggle()
sleep(10)