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

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