up/down count to 7-segment

Status
Not open for further replies.

colin mac

New Member
I have input pins on a 8051 based micro, that test whether to increment or decrement from a value displayed on 7-segements . After I've decided that the counter should be incremented for example, I'm wondering what's the best way to determine what digit I'm currrently on and display the next.

I'm thinking a separate variable which I increment and decrement which I can test to see what number I'm on, but I'd like to know if there's better ideas before i start, since these counter projects are common.
 
Last edited:
Hi
I am trying to build 0 to 9999 rpm counter with either 7 segment or LCD display using PIC.Any suggestions to links or tutorials for this will be deeply appreciated.
PIC intended to be used is 16F628 or 16F84A.Thanks.Google search did not yield much.
Ranjit.
 

hi,
A good starting point would be here:



The tutorials cover the fundamentals of PIC/LCD routines.
 
Last edited:
Status
Not open for further replies.
Cookies are required to use this site. You must accept them to continue using the site. Learn more…