A platformio example project running on a ESP8266 demonstrating the TFT_eSPI library working with an ST7789 76x284 TFT display module.
ST7789 76x284
An oddball display size (76x284 pixels, a tall narrow strip) that the stock TFT_eSPI setup does not cover. This PlatformIO example runs it on an ESP8266 and gives you a working starting point for your own project. It just cycles colours and gradients, then you build on it.
What you get
- A runnable PlatformIO example for the ESP8266
- The TFT_eSPI fork that already knows the 76x284 geometry
- SPI at 27 MHz, pins set via `build_flags`
- `main.cpp` cycling four rotations and a gradient test
The draw loop
Power on, and the panel cycles cyan, yellow, magenta, then gradients. Each pass draws a white rectangle around the visible area and rotates the whole thing through four orientations. The ST7789 does the refreshing; the ESP8266 just streams pixels over SPI at 27 MHz. Border in white makes a torn display obvious.