
Originally Posted by
Kman
I have been trying everything! I cannot get this pic to count like a Cars odometer. ( ie.. 100.1, 100.2, 100.3 ect ). Anyone have a routine I can see?
Thanks,
kman
100 will be one byte.
1 will be the second byte.
100.1 will be two bytes.
Code:
A VAR BYTE
B VAR BYTE
A=100
B=1
LCDOUT $fe,1,"Milage:", DEC3 A, "." ,DEC3 B
Kapiş?
------------------------------------------
"If the Earth were a single state, Istanbul would be its capital." Napoleon Bonaparte
Bookmarks