Question: Design an asynchronous counter using two push buttons, the microcontroller PIC 1 6 F 6 2 7 A , and a 7 - segment display
Design an asynchronous counter using two push buttons, the microcontroller PICFA and asegment display as shown in Figure The segment will display the digits to while the pushbuttons will provide the increment or decrement of the digits displayed such as: The push button connected to RA will increment the count by one every time it is presseddown meanwhile the push button connected toRA will decrement the count by one whenpressed down. When the simulation starts, the count must be When counting up starting from if the count reaches the next count must reset to Similarly, when counting down starting from the next count must be then decreases to A subroutine delay must be called just after sending your data to PORT B as shown in Figure this will allow the digit to be displayed for second before the next digit is displayed. Alsothe delay subroutine will be provided to you and can be placed anywhere before the ENDcommand. Code must be written in a assembly
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
