SSD1306/SH1106 driver for esp-idf
I used this repository as a reference.
I used this font file.
esp-idf v4.4 or later.
This is because this version supports ESP32-C3.
git clone https://github.com/nopnop2002/esp-idf-ssd1306
cd esp-idf-ssd1306/
idf.py set-target esp32
idf.py menuconfig
idf.py flash
git clone https://github.com/nopnop2002/esp-idf-ssd1306
cd esp-idf-ssd1306/
idf.py set-target esp32s2
idf.py menuconfig
idf.py flash
git clone https://github.com/nopnop2002/esp-idf-ssd1306
cd esp-idf-ssd1306/
idf.py set-target esp32c3
idf.py menuconfig
idf.py flash
Note
For some reason GPIO06, GPIO08, GPIO09, GPIO19 cannot be used for SPI clock pins on my board.
I looked at the ESP32-C3 datasheet, but I don't understand why.
This may be a problem only for my board.
If you find a solution, please let me know.
You have to set this config value with menuconfig.
Hardware scroll Not support
Left:1.3 inch SH1106
Right:0.96 inch SSD1306
Unlike other ESP32 development boards, the RTC_CLOCK crystal on this board uses a 26MHz one.
You need to change the RTC CLOCK frequency to 26MHz using menuconfig.
D0 is SCLK.
D1 is MOSI.
Hardware scroll Not support
Left:1.3 inch SH1106
Right:0.96 inch SSD1306
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。