Your new topic does not fit any of the above??? Check first. Then post here. Thanks.

Moderator: igrr

User avatar
By Marek
#42404 Hello everyone.

I'm having toruble connecting my ESP8266 (E12-E) with OLED via I2C using this library: https://github.com/somhi/ESP_SSD1306

This is my display:
Image

To which pins on ESP-12E should I connect SDA and SCL pins from my display?
Also, do I need to connect RST pin? Or just pull it up to VCC with a resistor?

The example from this library contains following code:
Code: Select all/*
HardWare OLED ESP8266 I2C pins
Pin 17,   GPIO14   SCL
Pin 19,   GPIO15   SDA
*/

// Pin definitions
#define OLED_RESET  16  // Pin 15 -RESET digital signal


How do I understand this?
According to documentation GPIO15 should be always connected to GND..

This is my module:
Image
User avatar
By schufti
#42446 with
Code: Select all  Wire.begin(0, 2);

in setup() you initialize the i2c library and define wich pins to use for sda,scl
the same pins will be used in xxx_SSD1306 library.
RST can be defined in init of xxx_SSD1306 library or handled as usual reset pin: 10nF to gnd and 10k to Vcc to reset at power-on.

p.s.: if allready modified why post misleading picture and not mention mod???