mirror of
https://github.com/openmv/openmv.git
synced 2025-11-04 14:49:50 +08:00
15 lines
278 B
Python
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)
|