Main Content
On-board EEPROM Write
Libraries:
Simulink Support Package for Arduino Hardware /
Common
Description
Use the On-board EEPROM Write block to write nonvolatile data to the on–board Arduino® electrically erasable programmable read–only memory (EEPROM). Each memory position on the EEPROM can store one byte of data. The block compares the existing data on the Arduino on–board EEPROM and writes only if the data has changed.
This table lists the memory size and the accessibility address range of on–board EEPROM of these Arduino boards.
Arduino Board | Size of On–Board EEPROM | Accessible Address Range |
---|---|---|
Arduino Mega 2560 and Mega ADK | 4096 bytes | 0 to 4095 |
Arduino Uno | 1024 bytes | 0 to 1023 |
Arduino Leonardo | 1024 bytes | 0 to 1023 |
Arduino Micro | 1024 bytes | 0 to 1023 |
Arduino Nano 3.0 | 1024 bytes | 0 to 1023 |
Ports
Input
Parameters
Version History
Introduced in R2024a