I am using the Seeed Studio TouchShield v2.0 (touchscreen LCD display) which I purchased from EpicTinker.com. One of the libraries for this device has a function with the following structure.
Tft.drawString("XYZ",25,200,2,CYAN);
// Draws the text string "XYZ" starting at position (25,200) in size 2 cyan font.
I would like to be able to replace the string "XYZ" with a string variable like this.
String someText;
someText = "ABC";
Tft.drawString(someText,25,200,2,CYAN);
When I tried this, the compiler yelled at me. Anyone see how I can do this?