openmv/scripts/examples/10-Arduino-Boards/Nano-RP2040/00-Board-Control/blinky.py
2023-07-05 19:03:37 +02:00

15 lines
276 B
Python

# Blinky example
import time
from machine import Pin
# This is the only LED pin available on the Nano RP2040,
# other than the RGB LED connected to Nina WiFi module.
led = Pin(6, Pin.OUT)
while True:
led.on()
time.sleep_ms(250)
led.off()
time.sleep_ms(250)