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
-
- Site Admin
- Posts: 899603
- Joined: Mon Aug 02, 2021 8:13 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 A
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.