Page 1 of 1

A circuit has a pushbutton switch connected to pin PC0 and a 7-segment LED display to port A of AVR ATmega16 microcontro

Posted: Fri Jul 08, 2022 6:29 am
by answerhappygod
A circuit has a pushbutton switch connected to pin PC0 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 “bcd” with each letter last for 500ms.
When the pushbutton is released the 7-segment will display “EF” with each letter last for 500ms.