Hi,
I'm trying to store some values in the ESP32's EEPROM (which should be 512 bytes in size). However, I'm only able to store 4 values in there. I've simplified the code so just the part that matters is in there.
In detail, I can jsut store 4 bytes in the EEPROM (addresses 0-3); everything above 3 as the address is not written to the EEPROM. It always just reads the value 0.
The code is as follows:
#include <EEPROM.h>
void setup() {
Serial.begin(115200);
EEPROM.begin(1);
EEPROM.write(3,244);
EEPROM.write(4,255);
EEPROM.commit();
Serial.println();
Serial.print("EEPROM value 3 is ");
Serial.println(EEPROM.read(3));
Serial.print("EEPROM value 4 is ");
Serial.println(EEPROM.read(4));
}
void loop() {
// put your main code here, to run repeatedly:
}
I've attached the serial monitor as an image. The log shows no errors.