We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9e65ed1 commit af7ec4eCopy full SHA for af7ec4e
libraries/EEPROM/examples/eeprom_class/eeprom_class.ino
@@ -17,6 +17,7 @@ EEPROMClass AGE("eeprom2", 0x100);
17
18
void setup() {
19
Serial.begin(115200);
20
+ delay(1000);
21
Serial.println("Testing EEPROMClass\n");
22
if (!NAMES.begin(NAMES.length())) {
23
Serial.println("Failed to initialise NAMES");
@@ -43,7 +44,7 @@ void setup() {
43
44
uint32_t age = 47;
45
46
// Write: Variables ---> EEPROM stores
- NAMES.put(0, name);
47
+ NAMES.writeString(0, name);
48
HEIGHT.put(0, height);
49
AGE.put(0, age);
50
Serial.print("name: "); Serial.println(name);
0 commit comments