DOCUMENTATION DISPLAYS Adafruit 1.8" ST7735
Overview
Getting Started
BASE
Reference
Worker
Setup modules
COMMODETTO
Reference
Poco Renderer
Outlines
Creating Fonts
Crypt
Data
DEVICES
Moddable One
Moddable Two
Moddable Three
Moddable Four
Moddable Display
ESP32
ESP8266
nRF52
nRF52 Low Power Notes
Raspberry Pi Pico
M5Core Ink
M5Paper
Wasm
SiLabs Gecko
QCA4020
Moddable Zero
DISPLAYS
Overview
Adafruit 1.8" ST7735
Adafruit OLED Display
BuyDisplay 2.8" CTP - ESP8266
Crystalfontz ePaper
DotStar
Generic 1.44"
Generic 2.4" & 2.8" (Resistive Touch) - ESP32
Generic 2.4" & 2.8" (Resistive Touch) - ESP8266
Generic 2.4" & 2.8" (Resistive Touch) - Pico
Sharp Memory
Sharp Memory Screen 1.3"
SparkFun TeensyView
Switch Science Reflective LCD
DRIVERS
DESTM32S display
DotStar display
ILI9341 display
LPM013M126A display
LS013B4DN04 display
MCP230XX GPIO expander
NeoStrand
SSD1306 display
SSD1351 display
ST7735 display
Files
IO
TC53 IO
Firmata
NETWORK
Reference
TLS (SecureSocket)
BLE
Ethernet
Web Things
PINS
Reference
Audio Output
PIU
Reference
Localization
Keyboard
Expanding Keyboard
Die Cut
Using After Effects Motion Data
TOOLS
Reference
Manifest
Defines in Manifests
Testing
XS
Handle
JavaScript language considerations on embedded devices using the XS engine
Mods – User Installed Extensions
ROM Colors
Using XS Preload to Optimize Applications
XS Conformance
XS Marshalling
XS Platforms
XS in C
XS linker warnings
xsbug
xst
XS Compartment
XS Profiler

Adafruit 1.8" ST7735 Wiring Guide

Copyright 2018 Moddable Tech, Inc.
Revised: December 10, 2018

Generic SPI Display

Specs

Part Adafruit Product ID: 2088
Size 1.8", 128 × 160
Type TFT LCD
Interface SPI
Drivers video ST7735, no touch
Availability Adafruit 1.8" Color TFT LCD Display
HiLetgo 1.8" ST7735R
Description Colorful, bright display wtih 4-wire SPI.

Moddable example code

The balls example is good for testing this display. To run a debug build, use the following build command:

cd $MODDABLE/examples/piu/balls
mcconfig -d -m -p esp/adafruit_st7735

ESP8266 Pinout

Adafruit 1.8" TFT ESP8266 ESP8266 Devboard label
LITE 3.3v
MISO GPIO 12 (D6)
SCK GPIO 14 (D5)
MOSI GPIO 13 (D7)
TFT_CS GPIO 15 (D8)
DC GPIO 2 (D4)
RESET 3.3v
VCC 3.3v
GND GND

Generic 2.4"-2.8" wiring illustration