mirror of
https://github.com/nopnop2002/esp-idf-ssd1306.git
synced 2024-10-03 18:18:47 -04:00
SSD1306/SH1106 Driver for esp-idf
main | ||
CMakeLists.txt | ||
LICENSE | ||
Makefile | ||
README.md |
esp-idf-ssd1306
Example code for driving OLED display with SSD1306 driver using ESP-IDF.
I used this repository as a reference.
https://github.com/yanbe/ssd1306-esp-idf-i2c
I used this font file.
https://github.com/dhepper/font8x8
You have to set this config value with menuconfig.
CONFIG_INTERFACEL
CONFIG_MODEL
CONFIG_SDA_GPIO
CONFIG_SCL_GPIO
CONFIG_RESET_GPIO
CONFIG_CS_GPIO
CONFIG_DC_GPIO
git clone https://github.com/nopnop2002/esp-idf-ssd1306
cd esp-idf-ssd1306/
make menuconfig
make flash
128x32 i2c
RESET GPIO not used.
CS GPIO not used.
DC GPIO not used.
128x64 i2c
RESET GPIO not used.
CS GPIO not used.
DC GPIO not used.
128x64 TTGO
CS GPIO not used.
DC GPIO not used.
128x64 ESP-WROOM-32
RESET GPIO not used.
CS GPIO not used.
DC GPIO not used.
128x64 SPI
MOSI is GPIO13.
SCLK is GPIO14.
SSD1306 Model not used.
SCL GPIO not used.
SDA GPIO not used.