pico-test/led_blink.py
2023-08-19 23:37:59 +02:00

7 lines
119 B
Python
Executable File

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