Core 0 panic'ed on ESP32

Hello jyber,

I´m getting the Core 0 panic’ed error when trying to impement your library.

I´m using Hardware Serial2 on default pins GPIO 16 and 17 of ESP32-WROOM-32 to communicate with Nextion Enhanced Display.

There are some method that are already working:

.getText
.setText
.getValue
.setValue

But the error occurs when executing a callback button function

The moment you press the button, the error occurs and the ESP32 reboots

Any clues of what could be happening ???

Guru Meditation Error: Core 0 panic’ed (LoadProhibited). Exception was unhandled.
Core 0 register dump:
PC : 0x400d5afc PS : 0x00060530 A0 : 0x800d5c40 A1 : 0x3ffb3250
A2 : 0x3ffbb93c A3 : 0x3ffda450 A4 : 0x3f4021d2 A5 : 0x3ffdcf50
A6 : 0x00000065 A7 : 0x00000000 A8 : 0x00000000 A9 : 0x3ffb3230
A10 : 0x00000007 A11 : 0x3ffda457 A12 : 0x3ffda457 A13 : 0x400da918
A14 : 0x00000007 A15 : 0x0000391c SAR : 0x0000000a EXCCAUSE: 0x0000001c
EXCVADDR: 0x0000000c LBEG : 0x4000c28c LEND : 0x4000c296 LCOUNT : 0x00000000

Backtrace: 0x400d5afc:0x3ffb3250 0x400d5c3d:0x3ffb3270 0x400d66f5:0x3ffb3290 0x400d6296:0x3ffb32b0 0x400d2e1e:0x3ffb32f0 0x4008978d:0x3ffb3360