- ST7789 panels are usually 4-wire SPI plus DC, RST and backlight. Match the 12-pin FPC pinout on that exact module — pin numbers are not universal.
- Logic is 2.4–3.3V on many small TFTs. Do not feed 5V into the flex.
- SPI MOSI/SCLK/CS must be the GPIOs your driver is compiled for. A mismatch shows a white or striped screen with a live backlight.
- Rotation is a software flag. Landscape vs portrait does not require a different panel if the driver supports it.
Short answer
How do I wire a 2.0 inch ST7789 SPI TFT to ESP32?
中文
短答
2.0 寸 ST7789 SPI 彩屏怎么接到 ESP32?
- ST7789 常见是 4 线 SPI,再加 DC、RST 和背光。FPC 12 针的脚位以该模块为准,不能当通用脚号。
- 很多小屏逻辑是 2.4–3.3V,不要给排线喂 5V。
- MOSI / SCLK / CS 必须是驱动里编译的那些 GPIO。对不上时常见背光亮、画面白屏或条纹。
- 横竖屏是软件标志。驱动支持的话,不必为横屏另买一块屏。