User`s manual

PK2200 Software Reference s 51
EEPROM
The following functions provide access to the EEPROM. The EEPROM
is generally used for storing system information, calibration information,
or any data that does not need to change often.
int ee
_
rd (int address)
Reads value from EEPROM at specified address.
PARAMETER1: The address to read from.
RETURN VALUE: EEPROM data (0-255) if successful; negative
value if unable to read EEPROM.
int ee
_
wr (int address, char data)
Writes value to EEPROM at specified address.
PARAMETER1: The address to write to.
RETURN VALUE: Returns 0 if write is successful, negative value if
unsuccessful.