When it displays on the 128 x 64 GLCD it only shows the first two bytes, DF04 NOT 0DDF04.
I suspect it is something simple but I can't find it. Your help, please.
Code: Select all
//unsigned long MILES & char txt[11] //ASSIGNED before MAIN
MILES = 909060; //0DDF04, DISPLAYS 57092 DF04
WordToStr(MILES, txt);
Glcd_Write_Text(Ltrim(txt), 16, 5, 1);