#include <EEPROM.h>
void setup() {
// put your setup code here, to run once:
Serial.begin(9600);
readEEPROM();
}
void loop() {
}
// put your main code here, to run repeatedly:
void readEEPROM() {
int value =0;
int addr = 0;
value = EEPROM.read(addr);
while (value != 0) {
Serial.print(value);
addr = addr + 1;
value = EEPROM.read(addr);
}
Serial.println();
}
No comments:
Post a Comment