I2C_24LC65_read

Description

Read a single byte from a 24LC65 serial EEPROM

Definition

uint I2C_24LC65_read(uint addr)

Library

LIB/i2c_24lc65_lib.bas

Usage

On entry:
addr is the address within the EEPROM of the byte to read
On exit:
Return the data read from the EEPROM or an error code

If the returned value is less than 256 then it is valid data otherwise the returned value is an error code