Added code for Lab 9

This commit is contained in:
Edward Bigos 2026-03-31 00:45:08 -04:00
commit 5f40f4c866
24 changed files with 796 additions and 0 deletions

View file

@ -0,0 +1,12 @@
import machine
import time
led = machine.Pin(15, machine.Pin.OUT) #configure GPIO-15 Pin as an output pin and create and led object for Pin class
while True:
led.value(True) #turn on the LED
time.sleep(1) #wait for one second
led.value(False) #turn off the LED
time.sleep(1) #wait for one second