-
Notifications
You must be signed in to change notification settings - Fork 13.3k
Closed
Labels
Description
Does any one know why exception 28 crash on esp8266. I write data to eeprom. But when I want to read it. The esp8266 crash.
My code:
#include <EEPROM.h>
Struct mydata{
char ssid;
char pass;};
void setup(){
Serial.begin(9600);
EEPROM.begin(4096);
Readeeprom();
}
void Readeeprom (){
const char* said;
const char* pass;
mydata Varcustom;
EEPROM.get(0, Varcustom);
//Exception 28 error begin here
Serial.println(Varcustom.ssid);// does not show this print
}Any help??