Hi all,
I am using timer 1 as a counter in mode 2. After reading the value in TL1 , I need to do same calculations which will be stored in an integer.
After the calculation is done, I am trying to display the result on an LCD. Now my problem is that I cannot display the result using the integer variable directly since the LCD function accepts strings.
Is there a way to convert the value stored in the integer to a string please?
Any kind of help would be appreciated.
I am using timer 1 as a counter in mode 2. After reading the value in TL1 , I need to do same calculations which will be stored in an integer.
After the calculation is done, I am trying to display the result on an LCD. Now my problem is that I cannot display the result using the integer variable directly since the LCD function accepts strings.
Is there a way to convert the value stored in the integer to a string please?
Any kind of help would be appreciated.