openmv/scripts/examples/01-Arduino-Boards/Nano-RP2040/00-Board-Control/blinky.py
2022-07-02 20:14:23 +02:00

15 lines
278 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)