Datasheet
processors can use the "Option 1" version of the constructor for best performance:
Mega and Leonardo users should use the "Option 2" version of the constructor for compatibility:
Be sure to select only one option and comment out the other with a pair of //'s.
Now upload the sketch to see the graphical display!
Adafruit_ST7735 tft = Adafruit_ST7735(TFT_CS, TFT_DC, TFT_RST);
Adafruit_ST7735 tft = Adafruit_ST7735(TFT_CS, TFT_DC, TFT_MOSI, TFT_SCLK, TFT_RST);
© Adafruit Industries https://learn.adafruit.com/1-8-tft-display Page 24 of 36










