tarablessd1306_examples
tarablessd1306_examples copied to clipboard
Heltec - Makerhawk ESP32 wifi
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