Question 2 (50 Marks): A circuit has a pushbutton switch connected to pin PCO and a 7-segment LED display to port A of A
Posted: Tue Jul 12, 2022 8:28 am
Question 2 (50 Marks): A circuit has a pushbutton switch connected to pin PCO and a 7-segment LED display to port A of AVR ATmega16 microcontroller. Write a program to control the 7-segment LED display as when the pushbutton pressed the 7-segment will display "START" with each letter last for 500ms. When the pushbutton is released the 7-segment will display "END" with each letter last for 500ms.