Add Nano blinky example

This commit is contained in:
iabdalkader 2021-04-14 23:00:45 +02:00
parent 4cee826bd7
commit df6b90fdaa

View File

@ -0,0 +1,18 @@
# Blinky example
import time
from board import LED
LED_RED=1
LED_GREEN=2
LED_BLUE=3
LED_YELLOW=4
while (True):
LED(LED_BLUE).on()
time.sleep_ms(150)
LED(LED_BLUE).off()
time.sleep_ms(100)
LED(LED_BLUE).on()
time.sleep_ms(150)
LED(LED_BLUE).off()
time.sleep_ms(600)