tarablessd1306_examples icon indicating copy to clipboard operation
tarablessd1306_examples copied to clipboard

Heltec - Makerhawk ESP32 wifi

Open gameofyou opened this issue 4 years ago • 0 comments

Just some information for people wanting to get this library working with this board, like all things very simple when you know how. The most important thing to understand is that a reset must be sent to the OLED display for it to start working, fortunately this library support exactly that.

In main.c

static const int I2CResetPin = 16;

in sdkconfig

CONFIG_SSD1306_DEFAULT_I2C_SPEED=700000
CONFIG_SSD1306_DEFAULT_I2C_PORT_NUMBER=0
CONFIG_SSD1306_DEFAULT_I2C_SCL_PIN=15
CONFIG_SSD1306_DEFAULT_I2C_SDA_PIN=4

gameofyou avatar May 31 '20 10:05 gameofyou