I've searched this forum from top to bottom, but I can't seem to find a solution to something that I'm sure must have been addressed before.

I'm developing a system that has numerous sub-functions built in, one of which is a precision frequency counter. The counter counts up to 20mhz with 1 Hz resolution using the PIC's internal timer/counters.

The counter code is working just fine, and I have a measurement result expressed as the number times the 16-bit counter has overflowed, plus the value of the final 16-bit count. I want to send this counter result to an ASCII display system as an 8-digit decimal number, but I can't figure out how to convert it given the limited size of PBP's 16-bit integer variables.

Thanks for any guidance,
Joe