Question: A PIC18F4550 microcontroller interfaced to a common-cathode 7-segment display via a buffer IC 74HC244 in the figure below: +5V PIC18 MCU 300 2 each SWI

A PIC18F4550 microcontroller interfaced to a common-cathode 7-segment display via a buffer IC 74HC244 in the figure below: +5V PIC18 MCU 300 2 each SWI RBO RD6 RD5 RD4 RD3 RD2 RD1 RDO 10k common cathode . When switch SW1 is pressed, the value displayed at the 7-segment will . If the value displayed at the 7-segment is '9', when switch SW1 is pressed . When switch SW1 is released, the value displayed at the 7-segment increment by one the value will roll over and become 0 remains unchanged External interrupt is used for detecting the state at RBO . (a) Draw the table displaying the relation between the decimal digit to be displayed, corresponding segment to turn on and the corresponding hexadecimal number output from Port D of the microcontroller. [10 marks] (b) Write the program that performs these tasks [10 Marks] A PIC18F4550 microcontroller interfaced to a common-cathode 7-segment display via a buffer IC 74HC244 in the figure below: +5V PIC18 MCU 300 2 each SWI RBO RD6 RD5 RD4 RD3 RD2 RD1 RDO 10k common cathode . When switch SW1 is pressed, the value displayed at the 7-segment will . If the value displayed at the 7-segment is '9', when switch SW1 is pressed . When switch SW1 is released, the value displayed at the 7-segment increment by one the value will roll over and become 0 remains unchanged External interrupt is used for detecting the state at RBO . (a) Draw the table displaying the relation between the decimal digit to be displayed, corresponding segment to turn on and the corresponding hexadecimal number output from Port D of the microcontroller. [10 marks] (b) Write the program that performs these tasks [10 Marks]
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
