esp32i2carduino-esp32

Interfacing oled to esp32 cam


Can someone provide source code for interfacing oled display with esp32-cam either using gpio13-14 or tx/rx pins or even using any available pins on the esp32 cam. I am not using the sd card reader. Moreover, i want to display texts over wifi to the oled.


Solution

  • Well after searching i found the following solution which worked for me. For SDA and SCL i used pin 15 and pin 13 respectively ('SSD1306 display(0x3c, 15, 13);' this is the code which i changed) . I used this source code that i found online.