I2C_24LC65_write

Description

Write a single byte to a 24LC65 serial EEPROM

Definition

proc ubyte i2c_24LC65_write(uint addr, ubyte val)

Library

LIB/i2c_24lc65_lib.bas

Usage

On entry:
addr is the address within the EEPROM of the byte to write

val is the value to write to the EEPROM at address addr

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