openmv/scripts/examples/10-Arduino-Boards/Nicla-Vision/00-Board-Control/blinky.py
2022-09-01 00:02:30 +02:00

15 lines
287 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("LED_BLUE", Pin.OUT)
while (True):
led.on()
time.sleep_ms(250)
led.off()
time.sleep_ms(250)