Lab No 08
Lab No 08
Source Code:
Fig 8.1
Fig 8.2
The output of Lab 08 involves the Red LED turning on or off based on the state of the switch
input. When the switch is pressed, the LED will turn on; when the switch is released, the LED
will turn off.
Conclusion:
This lab successfully demonstrates controlling an LED using a switch input with
GPIO configuration, showcasing microcontroller I/O handling.