Skip to content

Commit 3aeb60e

Browse files
authored
Update eeprom-impl-seamless-8-and-32-bit.md
1 parent 8d22dfe commit 3aeb60e

1 file changed

Lines changed: 5 additions & 3 deletions

File tree

content/arduino-libraries/io-abstraction/eeprom-impl-seamless-8-and-32-bit.md

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -168,11 +168,13 @@ To write a 32 bit long back to ROM storage at location `romStart`
168168

169169
To read an array into memory starting at `data` from ROM starting at `romStart` with length `len`
170170

171-
anEeprom.readIntoMemArray(data, romStart, len);
172-
171+
anEeprom.readIntoMemArray(data, romStart, len); // for uint8_t* data
172+
anEeprom.readCharArrIntoMemArray(data, romStart, len); // for char* data
173+
173174
To write an array from memory starting at `data` to ROM starting at `romStart` with length `len`
174175

175-
anEeprom.writeArrayToRom(romStart, data, len);
176+
anEeprom.writeArrayToRom(romStart, data, len); // for uint8_t* data
177+
anEeprom.writeCharArrToRom(romStart, data, len); // for char* data
176178

177179
## A word about EEPROM performance
178180

0 commit comments

Comments
 (0)