variable = EERead (Address, ByteLength)
variable | Variable to store result (No String or Single) |
address | 0 to 4095 |
byteLength | Number of bytes to read (1 to 4) |
Read data from the specified address in the EEPROM.
Dim A As Integer Dim B As Integer A = 100 EEWrite 0,A,2 ' Store 2 bytes of A in Address 0. B = EERead(0,2) ' Read 2 bytes from Address 0 and store in B.
For reading/writing floating point values (i.e. Single
) from/to the EEPROM, please use the Peek and Poke features.