pjpmarques / LOLIN-ESP32-OLED

Bootstrap project for Lolin ESP32-WROOM-32 with 0.96" display

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Bootstrap program for Wemos Lolin ESP32 OLED board (and clones)

This program allows you a quick start with the Wemos Lolin ESP32 OLED, which features a 0.96" display. Documentation online about the pinout is sketchy and, in some cases, wrong.

The important thing is that to communicate with the display, you need to use I2C, talking to the SSD1306 controller. The I2C address and I2C pins are:

#define I2C_DISPLAY_ADDR    0x3C
#define SDA                 5
#define SCL                 4

Here's a photo of a Lolin clone running the "Hello World" code:

ESP32 with the OLED display

Here's the pinout of the module for future reference:

ESP32 with the OLED display

Please also check this documentation:

License

Apache 2.0

About

Bootstrap project for Lolin ESP32-WROOM-32 with 0.96" display

License:Apache License 2.0


Languages

Language:C++ 100.0%