Lab no 13
Lab no 13
Objective:
To control a 7-segment display to count from 0 to 9 using a microcontroller and a button. The
button serves as the input to increment the count, and the microcontroller updates the 7-segment
display accordingly. This lab demonstrates interfacing a 7-segment display, handling user input,
and programming sequential logic for hardware control.
Source code.
Fig 13.2
Conclusion:
The lab successfully controlled a 7-segment display to count from 0 to 9 using a microcontroller
and a button. It demonstrated user input handling, display interfacing, and sequential logic,
highlighting key concepts in embedded systems design.