Wifi Kit 32 shutting down when using display

When the board arrived, it was working well, wifi and screen.
I uploaded the classic blink and everithing was ok.

Now it was time to make the OLED work,
i’ve worked with them before but it was with an arduino pro micro,
after uploading the example, nothing worked, tested around and this is what i know:

  • the board boots
  • nothing appears on screen
  • the board resets when any Heltec.display method is called

need some help solving this :slight_smile:

edit:
When calling any Heltec.display method this appears on the serial monitor

ELF file SHA256: fd4d2b96ec26363e

Rebooting...
ESP-ROM:esp32s3-20210327
Build:Mar 27 2021
rst:0xc (RTC_SW_CPU_RST),boot:0x8 (SPI_FAST_FLASH_BOOT)
Saved PC:0x420218fa
SPIWP:0xee
mode:DIO, clock div:1
load:0x3fce3808,len:0x44c
load:0x403c9700,len:0xbe4
load:0x403cc700,len:0x2a38
entry 0x403c98d4
Serial initial done
Guru Meditation Error: Core  1 panic'ed (LoadProhibited). Exception was unhandled.

Core  1 register dump:
PC      : 0x420016bf  PS      : 0x00060630  A0      : 0x82001675  A1      : 0x3fcebe20  
A2      : 0x00000000  A3      : 0x00000001  A4      : 0x00000000  A5      : 0x00000001
A6      : 0x00000001  A7      : 0x1c03a180  A8      : 0x820016b9  A9      : 0x3fcebdd0  
A10     : 0x00000003  A11     : 0x00000003  A12     : 0x00000000  A13     : 0x0000002c
A14     : 0x0000002b  A15     : 0x0000e100  SAR     : 0x00000010  EXCCAUSE: 0x0000001c  
EXCVADDR: 0x00000018  LBEG    : 0x400556d5  LEND    : 0x400556e5  LCOUNT  : 0xfffffffa


Backtrace: 0x420016bc:0x3fcebe20 0x42001672:0x3fcebe40 0x42002a9a:0x3fcebe60

UPDATE

Soooooo, I gave up on using Heltec normally,
imported the Heltec normally but im using SSD1306Wire.h directly
everything works normally now

#define WIFI_Kit_32
#include "heltec.h"
#include "WiFi.h"

SSD1306Wire factory_display(0x3c, SDA_OLED, SCL_OLED, RST_OLED, GEOMETRY_128_64);

void setup() {
  factory_display.init();
}

Solved :+1: