Web of the original model:
Github Project:
TFT_eSPI Setup
Copy TFT_eSPI to $HOME/Arduino/libraries from the Github Project (don't use the official release).
Official Release: https://github.com/Bodmer/TFT_eSPI (for documentation, examples, etc.)
Upload programs
Fix problem uploading (due to Linux permissions)
sudo chmod a+rw /dev/ttyACM0
Language Reference
Basic Tutorial
https://manual.eg.poly.edu/index.php/Arduino_Coding_Guide
Technical Specs
Resolution: 135x240
Examples
#include <TFT_eSPI.h>
TFT_eSPI tft = TFT_eSPI(135, 240); // Invoke custom library
void setup() {
tft.init();
tft.setRotation(1);
tft.fillScreen(TFT_GREEN);
}
void loop() {
}
esp32