Hi.
I am trying to connect a 128x128 OLED display via I2C to the NodeMCU.
Unfortunately despite many attempts I am not succeeding.
Connecting the same display to an Arduino Nano is not a problem.
The display has leads:
+5/3.3V
SDA
SCL
GND
Detailed description: .
When connected to Arduino: 3V3, SDA:A4, SCL:A5, GND everything works fine (ATMega328 hardware I2C), when trying to transfer the same code to the NodeMCU connecting: 3V3, SDA:D 1, SCL:D 2, GND the display does not work properly.
I am using libraries from the manufacturer of this display. In the case of NodeMCU, it declares Wire.begin(D1,D2)
.
Could anyone help transferring the program from the Nano to the NodeMCU?
I also did an I2C scan on the Nano detects the device address correctly: 0x3d, on the NodeMCU unfortunately not.
Other I2C devices on the NodeMCU work correctly.
Attached is the library from the display.
I am trying to connect a 128x128 OLED display via I2C to the NodeMCU.
Unfortunately despite many attempts I am not succeeding.
Connecting the same display to an Arduino Nano is not a problem.
The display has leads:
+5/3.3V
SDA
SCL
GND
Detailed description: .
When connected to Arduino: 3V3, SDA:A4, SCL:A5, GND everything works fine (ATMega328 hardware I2C), when trying to transfer the same code to the NodeMCU connecting: 3V3, SDA:D 1, SCL:D 2, GND the display does not work properly.
I am using libraries from the manufacturer of this display. In the case of NodeMCU, it declares Wire.begin(D1,D2)
![[NodeMCU] [Arduino] Correct I2C configuration. OLED display 128x128 SSD1327 [NodeMCU] [Arduino] Correct I2C configuration. OLED display 128x128 SSD1327](https://obrazki.elektroda.pl/6266149600_1520789982_thumb.jpg)
Could anyone help transferring the program from the Nano to the NodeMCU?
I also did an I2C scan on the Nano detects the device address correctly: 0x3d, on the NodeMCU unfortunately not.
Other I2C devices on the NodeMCU work correctly.
Attached is the library from the display.