I don't know how to print integer on ILI9225, I am using the Arduino TFT library.
I would appreciate it if anyone could help.
Please read and follow the instructions in the "How to use the forum" post. Post the code, using code tags, and explain what goes wrong.
Most libraries come with examples. Study them.
Can't you simply put the cursor where you want it, then use the print method?
e.g.
nameOfTftObject.print (yourIntValue);
Hi jremington sorry if my query bothered you. I have already checked the library examples and couldn't find anything related to integer print and I have also searched online found nothing useful.
I found this
I am so sorry to waste your time guys I was using
String sensorVal = String(analogRead(A0));
sensorVal.toCharArray(sensorPrintout, 4);
already and I thought it is not working. just figured out another section of my code had a problem leading to misunderstanding.
Anyway, I appreciate your help.