Create an Account

Already have account?

Forgot Your Password ?

Home / Questions / Using a PIC16F84 and two 7447 display decoders see Design Example 71 write a PicBasic Pro ...

Using a PIC16F84 and two 7447 display decoders see Design Example 71 write a PicBasic Pro program to implement a counter with a two digit display controlled by three pushbutton switches one to

Using a PIC16F84 and two 7447 display decoders (see Design Example 7.1), write a PicBasic Pro program to implement a counter with a two-digit display controlled by three pushbutton switches: one to reset the count to 0, one to increment the count by 1, and the third to decrement the count by 1. If the count is less than 10, the first digit should be blank. Incrementing past 99 should reset the count to 0, and decrementing below 0 should not be allowed. Make sure you debounce the switch input where necessary and prevent repeats while the pushbutton switches are held down. Use the design procedure presented in Section 7.9 and show the results for each step.

Example 7.1

Here, we provide more detailed descriptions and examples of a few of the assembly language instructions to help you better understand the terminology and the naming conventions.

 

Jul 26 2020 View more View Less

Answer (Solved)

question Subscribe To Get Solution

Related Questions