Categories
Uncategorized

cheap TFT 1.8 with SD slot

GOOD
http://forum.arduino.cc/index.php?topic=389609.0

CHIP: ST7735
WORKS on NANO

#define TFT_CS 10
#define TFT_DC 9
#define TFT_RST 8

#define TFT_MOSI 11 // Data out
#define TFT_SCLK 13 // Clock out

Adafruit_ST7735 tft = Adafruit_ST7735(10, 9, 8);

* DATA SIGNAL NEED 3.3V then must add 1K resistors to each signal legs

BELOW image TFT = works, SD = not yet tested

#include <Adafruit_GFX.h> // core graphics library
#include <Adafruit_ST7735.h> // hardware-specific library
#include <SPI.h>

#define sclk 13
#define miso 12
#define mosi 11
#define tft_cs 9
#define dc 10
#define rst 8
#define sd_cs 7
 
// Option 1: use any pins but a little slower
Adafruit_ST7735 tft = Adafruit_ST7735 (tft_cs, dc, rst);