This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <EEPROM.h> | |
// Absolute min and max eeprom addresses. Actual values are hardware-dependent. | |
// These values can be changed e.g. to protect eeprom cells outside this range. | |
const int EEPROM_MIN_ADDR = 0; | |
const int EEPROM_MAX_ADDR = 511; | |
// Returns true if the address is between the | |
// minimum and maximum allowed values, false otherwise. | |
// | |
// This function is used by the other, higher-level functions |