Merge pull request #1678 from openmv/examples_refactor

scripts/examples: Refactor examples.
This commit is contained in:
Ibrahim Abdelkader 2022-07-02 20:17:13 +02:00 committed by GitHub
commit 60457cca3c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
633 changed files with 42 additions and 15430 deletions

View File

@ -0,0 +1,14 @@
# 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)

View File

@ -0,0 +1,14 @@
# 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)

Some files were not shown because too many files have changed in this diff Show More