1- SWITCH A switch is bound to the first bit of PORTA. This switch has high value. When pressed, the first bit of PortB
Posted: Thu May 26, 2022 9:31 am
1- SWITCH A switch is bound to the first bit of PORTA. This switch has high value. When pressed, the first bit of PortB is pulled down, otherwise the first bit of PortB remains high. BIT OPERATION Starting from the first bit of PortA to the 8th bit of PortB, a led system will be created. then it should return to the starting position from where it left off. 3- TIMER OVERFLOW INTERRUPT Using the timer overflow interrupt, it should generate a code in the led system that advances from the last bit of PortB to the first bit and returns.