// include library to read and write from flash memory
#include <EEPROM.h>
// define the number of bytes you want to access
#define EEPROM_SIZE 60
byte DataE = 35;
byte DataD = 44;
void setup() {
Serial.begin(115200);
// initialize EEPROM with predefined size
EEPROM.begin(EEPROM_SIZE);
}
void loop() {
EEPROM.write(0, DataE);
EEPROM.commit();
EEPROM.write(1, DataD);
EEPROM.commit()
delay (1000);
byte TEST = EEPROM.read(0);
byte TEST1 = EEPROM.read(1);
Serial.println (TEST,DEC);
Serial.println (TEST1,DEC);
delay (100000);
}