Heltec esp 32 v3 - Adruino sketch

Hello, I recently bought a Heltec esp32 V3. Unfortunately, the chipset was also changed here, so that I have to rewrite my sketch for the heltec esp32 V2.

Can someone tell me which GPIOs I can use to address the OLED display. (Esp32 V2: RST 16, SCL 15, SDA 4)

Many Thanks in advance

Hi, as an absolutely greenhorn i can*t get it. Which GIOS a have to use for the V3 Version?
Thanks!

//For v2 //Esp32 V2: RST 16, SCL 15, SDA 4
U8X8_SSD1306_128X64_NONAME_SW_I2C u8x8(/* clock=/ 15, / data=/ 4, / reset=*/ 16);

//for v3 //Esp32 V3: RST 21, SCL 18, SDA 17
U8X8_SSD1306_128X64_NONAME_SW_I2C u8x8(/* clock=/ 18, / data=/ 17, / reset=*/ 21);

It’s work for me

1 Like

Thanks to all of you. Problem solved.