pic 16f877a code problem,"freq2write"query.

MrChips

Joined Oct 2, 2009
21,846
"freq2write"- may i ask some body who can describe it more details
What would you like to know?

freq2write is a 16-bit unsigned integer.
The program converts it to five digits with possible values from 00000 to 65535.
The five digits are converted to ASCII characters and packed into an array.
The array is sent to the LCD.

This is not the most efficient integer-to-ASCII conversion routine. There are better ways of doing it.
 
Top