Methods
-
eeprom_get(address, variable)
-
Returns a reference to the data at the given location from the EEPROM, and stores it in the given variable.
Check out the third party documentation for a more in depth explanation.Parameters:
Name Type Description address
Number the location to get data from
variable
Number the variable to store the data to
Code Equivalent:
EEPROM.get(address, variable);
-
eeprom_put(address, value)
-
Writes any data type or object to the EEPROM at the given location.
Check out the third party documentation for a more in depth explanation.Parameters:
Name Type Description address
Number the location to write to, starting from 0
value
the data to write to the location
Code Equivalent:
EEPROM.put(address, value);
-
eeprom_read(address)
-
Reads and returns the byte from the given address of the EEPROM.
Check out the third party documentation for a more in depth explanation.Parameters:
Name Type Description address
Number the location to read the byte from
Code Equivalent:
EEPROM.read(address)
-
eeprom_update(address, value)
-
Writes a byte to the EEPROM, as long as the value is different from the one already saved at the same address.
Check out the third party documentation for a more in depth explanation.Parameters:
Name Type Description address
Number the location to write to, starting from 0
value
Number the value to write, from 0 to 255
Code Equivalent:
EEPROM.update(address, value);
-
eeprom_write(address, value)
-
Writes a byte to the EEPROM at the given address location.
Check out the third party documentation for a more in depth explanation.Parameters:
Name Type Description address
Number the location to write to, starting from 0
value
Number the value to write, from 0 to 255
Code Equivalent:
EEPROM.write(address, value);