readEEPROM(which address)

From pinHeck Wiki
Revision as of 22:02, 21 September 2014 by Benheck (Talk | contribs)

Jump to: navigation, search

Returns the 4 byte long value in the specified address. A long allows you to store a number between 0-4,294,967,295 (0x00000000 - 0xFFFFFFFF)

Example:

x = readEEPROM(1024);

Gets the value from EEPROM location 1024.


As with writeEEPROM, you can read-write from locations 0-8191, though some are reserved by the system. See writeEEPROM(which address, what value) for more information.