I am trying to serial print the value of b[0][0]
.
Has to be zero but it dose not work!
Here is the code
void setup() {
Serial.begin(115200);
byte b[321][241];
Serial.println(b[0][0]);
}
void loop() {
}
If the array is small like b[2][2]
it dose work
In theory esp32 has ram of 520 KiB SRAM so can this be a problem?
Here is the error code
rst:0x8 (TG1WDT_SYS_RESET),boot:0x13 (SPI_FAST_FLASH_BOOT)
configsip: 0, SPIWP:0xee
clk_drv:0x00,q_drv:0x00,d_drv:0x00,cs0_drv:0x00,hd_drv:0x00,wp_drv:0x00
mode:DIO, clock div:1
load:0x3fff0018,len:4
load:0x3fff001c,len:1216
ho 0 tail 12 room 4
load:0x40078000,len:9720
ho 0 tail 12 room 4
load:0x40080400,len:6352
entry 0x400806b8
The code complies fine but the error gets when esp32 is running
esp32 version for arduino is 1.0.4