mirror of
https://github.com/nopnop2002/esp-idf-ssd1306.git
synced 2024-09-19 17:56:25 -04:00
SSD1306/SH1106 Driver for esp-idf
main | ||
CMakeLists.txt | ||
LICENSE | ||
Makefile | ||
README.md |
esp-idf-ssd1306
SSD1306 driver for esp-idf
I used this repository as a reference.
I used this font file.
Installation for ESP32
git clone https://github.com/nopnop2002/esp-idf-ssd1306
cd esp-idf-ssd1306/
idf.py set-target esp32
idf.py menuconfig
idf.py flash
Installation for ESP32-S2
git clone https://github.com/nopnop2002/esp-idf-ssd1306
cd esp-idf-ssd1306/
idf.py set-target esp32s2
idf.py menuconfig
idf.py flash
You have to set this config value with menuconfig.
- CONFIG_INTERFACE
- CONFIG_PANEL
- CONFIG_OFFSETXL
- CONFIG_SDA_GPIO
- CONFIG_SCL_GPIO
- CONFIG_RESET_GPIO
- CONFIG_MOSI_GPIO
- CONFIG_SCLK_GPIO
- CONFIG_CS_GPIO
- CONFIG_DC_GPIO
Generic SSD1306 128x32 i2c
Generic SSD1306 128x64 i2c
Generic SH1106 128x64 i2c
128x64 TTGO i2c
128x64 ESP-WROOM-32 i2c
Generic SSD1306 128x32 SPI
D0 is SCLK.
D1 is MOSI.
Generic SSD1306 128x64 SPI
D0 is SCLK.
D1 is MOSI.
Generic SH1106 128x64 SPI
D0 is SCLK.
D1 is MOSI.
Hardware scroll Not support