How to convert from int to string. I wanna to display number in LCD because LCD accept on string. TQ
How to convert from int to string. I wanna to display number in LCD because LCD accept on string. TQ
One way is th "Dig" command, you can isolate each digit of your number, and output it to your LCD.
Dwayne
Ability to Fly:
Hurling yourself towards the ground, and missing.
Engineers that Contribute to flying:
Both optimists and pessimists contribute to the society. The optimist invents the aeroplane, the pessimist the parachute
Pilots that are Flying:
Those who know their limitations, and respect the green side of the grass...
Hi,
If I underastand your question correct what you need is the # operator.
LCDOUT $FE, 1, #YourVariable
If YourVariable holds the value 106 this command will print 106 on the LCD instead of the ASCII representation of 106 which is "j". This will also work with Serout, Serout2, Hserout & Debug.
/Henrik Olsson.
Bookmarks