EEPROM
Routines
These routines replace and expand upon the routines supplied with Basic
18, allowing the reading and writing of bytes, integers, shorts, longs, and
singles. The write routines take advantage of the function overloading
capabilities of Basic 18 so that the user does not have to be concerned about
the data type. Individual read routines are provided for each data type.
EWrite(address, data)
Write the contents of the variable data into EEPROM starting at
address address, From 1 to 4 bytes will be written, depending on the
type of data.
eRead(address)
returns 1 byte read
from EEPROM starting at address address.
eReadW(address)
returns 2 bytes read
from EEPROM starting at address address.
eReadS(address)
returns 3 bytes read
from EEPROM starting at address address.
eReadL(address)
returns 4 bytes read
from EEPROM starting at address address.
eReadFP(address)
returns 4 bytes read
from EEPROM starting at address address.