I2C_24LC65_read_array

Description

Read multiple bytes from a 24LC65 serial EEPROM into an array

Definition

ubyte i2c_24LC65_read_array(ubyte *ptr, uint addr, ubyte cnt)

Library

LIB/i2c_24lc65_lib.bas

Usage

On entry:
ptr is the address of an array to read into (from the EEPROM)

addr is the address into the EEPROM at which reading is to start

cnt is the number of bytes to be copied from the EEPROM into the array

On exit:
Return 0 if the read failed, return non 0 if the read succeaded