Question: Simulate using MPLAB a PIC18F4321-based system as shown in figure below: The system will drive two seven segment digits and monitor two key switches. The

Simulate using MPLAB a PIC18F4321-based system as shown in figure below: The system will drive two seven segment digits and monitor two key switches. The system will start displaying 00. If the increment key is pressed, it will increment the display by one. Similarly, if the decrement key is pressed, the display will be decremented by one. The display will go from 00 to 99, and vice versa. Write a C language program to accomplish the above. The system use a 4MHz internal clock. The increment Switch is connected to INT1 (RBI ) and the decrement Switch to INT2 (RB2). INT1 is configured as high priority and INT2 as Low Priority. Assume that the high 7-segment display is connected via RC3-RCO of PORTC while Low 7-segment display via RD3-RDO of PORTD and two 7447's decoders are used for the displays
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
