I2C_24LC65_write_array

Description

Write multiple bytes to a 24LC65 serial EEPROM from an array

Definition

proc ubyte i2c_24LC65_write_array(ubyte *ptr, uint addr, ubyte cnt)

Library

LIB/i2c_24lc65_lib.bas

Usage

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

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

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

On exit:
Return 0 if the write failed, return non 0 if the write succeaded There is no return value