scripts/examples: Refactor examples.

This commit is contained in:
iabdalkader 2022-06-28 22:45:23 +02:00
parent 5af00343dc
commit f985ef0ef7
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