UBISS2024exam

From Sketching with Hardware at LMU Wiki
Revision as of 10:28, 13 June 2024 by Skwhadmin (talk | contribs)
Jump to navigation Jump to search
import time
from machine import Pin

# This is the only LED pin available on the Nano RP2040,
# other than the RGB LED connected to Nano WiFi module.
led = Pin(6, Pin.OUT)

while (True):
   led.on()
   time.sleep_ms(250)
   led.off()
   time.sleep_ms(200)