Quote Originally Posted by Darrel Taylor View Post
Hi Joe,

I think the problem is in the pauses.
The first 3 digits are on for 2ms each, then the last digit is on for 7ms (2ms + 5ms in the main loop). So the dutycycles are around 15% for the 3 digits and over 50% for digit 4.

Removing the 5ms pause in the Mainloop should make them all the same brightness with 25% duty.
<br>
That answered a question I didn't exactly know how to ask.
Quote Originally Posted by Darrel Taylor View Post
But you still need a Time Base if you want to read RPM, and you'll need to do some math to convert the result which will cause small variances in the brightness as the delays thru the loop change.
<br>
I thought the pause was the time base! In the example it was 500.
Quote Originally Posted by Darrel Taylor View Post
This sounds like the perfect job for Instant Interrupts.

I just happen to have some hardware available, that's hooked up the same way as the meLabs 7-segment demo.
http://www.picbasic.co.uk/forum/show...?p=58076#58076

Feel like trying it a different way?
<br>
OH HECK YES . . . I was getting ready to output BCD into some 4511s so as to have a latch to get brightness without flicker . . . In fact to that end I ordered some common cathode LEDs last night, I already have common anode ones here.<h2><b>LEAD THE WAY MASTER</h2></b>Thank You Darrel.