ST7735 LCD 128×160 with Arduino

This is a notes post for future reference
Description: Cheap eBay color LCD display
Resolution: 128×160.
Size: 1.8″
Driver: ST7735
Colors: 18bit ?

ST7735

Libraries: Adafruit_GFX, Adafruit_ST7735, SPI.

CODE:

#define sclk 13
#define mosi 11
#define cs   4
#define dc   8
#define rst  -1
Adafruit_ST7735 tft = Adafruit_ST7735(cs, dc, rst);
tft.initR(INITR_BLACKTAB);
tft.fillScreen(ST7735_BLACK);

Pins:

Display -> UNO

SCLK -> 13
MOSI (SDA) -> 11
CS -> 4
DC (AO) -> 8
RST -> RESET
VCC -> 5V
GND -> GND
LED -> 3.3v

Leave a Reply

Your email address will not be published. Required fields are marked *

*