kushWithoutWax / esp32-basic-server

Basic HTTP Client server functionalities on a ESP32 CAM
0 stars 0 forks source link

Support OLED screen on ESP32 #2

Open kushWithoutWax opened 3 weeks ago

kushWithoutWax commented 3 weeks ago

Look at this resource - https://github.com/mkfrey/u8g2-hal-esp-idf

Check if the SCL and SDA pins for I2C work proper.

kushWithoutWax commented 3 weeks ago

Pin num guides on ESP32 cam - https://randomnerdtutorials.com/esp32-cam-ai-thinker-pinout/

kushWithoutWax commented 3 weeks ago

I tried this pin config - const uint8_t clock_pin = 12; const uint8_t data_pin = 13;

and used the same u8g2 driver that I used with Arduio - platformio - u8g2 by Oliver

U8G2_SH1106_128X64_NONAME_F_HW_I2C u8g2(U8G2_R0, / reset=/ U8X8_PIN_NONE, clock_pin, data_pin);

This does to work currently . Nothing is getting displayed on the screen