Closed PRITVARMORA closed 2 years ago
Interface an array of 3 LEDs that must be continuously toggling as 1→2→3→3→2→1.
Implement 2 push buttons to generate individual hardware interrupts to toggle the state of two different LEDs.
Generate 2 square waves of the time period of 400ms and 200ms using only one interrupt i.e Timer interrupt.
Use internal pull up registers to handle push buttons floating pin problem.
Not Attempted as it was Optional
Interface an array of 3 LEDs that must be continuously toggling as 1→2→3→3→2→1.
Implement 2 push buttons to generate individual hardware interrupts to toggle the state of two different LEDs.
Generate 2 square waves of the time period of 400ms and 200ms using only one interrupt i.e Timer interrupt.