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.
x = Pin(6, Pin.OUT)

while (True):
   x.on()
   time.sleep_ms(500)
   x.off()
   time.sleep_ms(100)