Skip to content

Instantly share code, notes, and snippets.

2.25-inch TFT LCD ST7789 small screen 76*284 module LCD full view SPI color screen

ESPHOME with st7789v platform (color order was wrong with this one)

display:
  - platform: st7789v
    model: CUSTOM
    height: 284
    width: 76
    offset_height: 82
@nebman
nebman / display-example.ino
Created November 17, 2017 09:36
Example code for Wifi Kit 8, ESP8266 Oled, HTIT-W8266
#include <Arduino.h>
#include <U8x8lib.h>
// Pin 16 OLED Reset
// Pin 4,5 I2C
// use Board "Wemos D1 Mini R2", 80Mhz, 4(3)MB Flash, 921600baud to flash
U8X8_SSD1306_128X32_UNIVISION_HW_I2C u8x8(16);