Graphics library for NodeMCU (ESP8266), ESP32 and serial+parallel TFT displays

Set the test colours:

tft.setTextColor(TFT_WHITE, TFT_BLACK);

Set the text datum, e.g.

tft.setTextDatum(TL_DATUM);

Set the total padding width in pixels:

tft.setTextPadding(100);

Then print the text:

tft.drawString("Hello", xpos, ypos);