Question: Use timer 2 and Timer 3 to setup interrupt calls. Use the 8 LEDs connected to pins RA 0 through RA 7 of the PIC
Use timer and Timer to setup interrupt calls. Use the LEDs connected to pins RA through RA of the PIC MCU.PushButton is connected to RD and PushButton is connected to RD When pushButton is pressed, Timer interrupt is called and Timer ISR run in which LED to LED are blinking and moving left. When pushButton is pressed, Timer interrupt is called and Timer ISR run in which LED to LED are blinking and moving right. Assume the: PBCLK of the MCU is set at Mhz The delay in the timing of the program in between the change of state of the LEDS should be ms Timer and Timer prescale settings is : Priority for interrupts is
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
