I'm learning pic's and learned a lot so far, i'm working on a pulse reader to display rpms, i have the timing part figured out, but i'm at a loss as to change the reading to display
the single digits for the multiplexing of each of the 4 digits. i've been reading everything
I can but all the tort's and the like are for counters ;up then down, unless i'm missing something? if someone could point me out how then i could "play around w/ it"
How about using an LCD display module. You can get a surplus 2-line, 16 characters-per-line LCD display for ~ $5. It takes about 7 PIC pins to write alphanumeric characters to it. For a freq counter, you can have up to 8 or 9 decimal digits.
I'm currently building a PIC-controlled antenna rotator where I will use such an LCD. I plan to display the current antenna heading on one line, and the commanded heading on the other.
I wanted to learn the harder of the two. once i get the going my next "screen" will be lcd . Ive already picked it out, once i can do this one, that one will be
my reward to myself
What are you having trouble with? Converting a binary count to decimal? Using one BCD to 7 segment decoder to drive four LED displays? Multiplexing the displays?
when i get the "pulse" period" from the int ruteen, that would be a binary number,correct? i would have to get the "ones" digit and send to multiplexed one, then get
the "tens" digit and send and so forth,.? would'nt i have to do this each time to keep the display up to date, i dont want to use a look up table for i'd have 9999 lines?
i found a math routein weeks ago but i was still learning the timers and cccp.
You could use the digbyte macro. It separates the digits to display on a 7 seg. The one I found online had a mistake but here is a corrected copy. You will have to add the code for the 4th digit and an equate.