ESP32 (ESP32-DevKitC-V4) run in Arduino framework, to display on 0.96" 128x64/0.91"128x32 OLED with I2C SSD1306 driver, using SSD1306 library.
Install Library:
Search and install ssd1306 library (by Alexey Dynda) via Arduino IDE library manager.
Connection:
ESP32 I2C SSD1306 OLED
(ESP32-DevKitC-V4)
====================================
3V3 VCC
GND GND
IO22 SCL
IO21 SDA
Open File > Examples > ssd1306 > demos > ssd1306_demo
Save, verify and upload.
Related:
No comments:
Post a Comment