I modified from cytron source code
For example,
unsigned int distance = 0;
SetCurXLCD(0);
distance = distance + 1; //for each loop
putrsXLCD(distance);
RESULT:
the LCD unable to display the proper value, it become unknown symbol.
If i use putcXLCD(distance) also cannot.
If i use putrsXLCD("1") then can show but this method not efficient cause i have a lot of value need to display using loop.
Question:
How to display the content inside of variable distance? for example 1, 2, 3...up to 100? (actually i would like to have decimal point for example 1.5, 2.0, 2.5...)
Can I to convert the value inside the variable of distance into STRING format so that i can display using putrsXLCD(distance)? But I duno how to convert. =.="
Thanks..