I tried to use an GFXcanvas object from the Adafruit_GFX Library to update a value displayed on an TFT with ILI9341-Controller.
if I do that:
Code: Select all
GFXcanvas1 Value1(128, 28);
Value1.setFont(&FreeSans18pt7b);
Value1.setCursor(0, 28);
Value1.println("AAAA");
tft.drawBitmap(x2, y1, Value1.getBuffer(), 128, 28, ILI9341_CYAN, ILI9341_ORANGE);
Value1.setFont(&FreeSans18pt7b);
Value1.setCursor(0, 28);
Value1.println("BBBB");
tft.drawBitmap(x2, y1, Value1.getBuffer(), 128, 28, ILI9341_CYAN, ILI9341_ORANGE);
if I remove the second "setCursor" Statement the output will ever be "AAAA"
How can I Display the "BBBB" without any Pixels on the Display from the "AAAA" ?
Thx for help and sorry for my English *smile*
MacPit69