I2C_master_write_byte

Description

Wtite a byte to the I2C bus as the bus master.

NOTE: the I2C bus must have been previously aquired by this processor and the processor must be the bus master for this operation to succead.

Definition

ubyte I2C_master_write_byte(ubyte data_out)

Library

LIB/i2c_bb_lib.bas

Usage

On entry:
data_out is the byte to be written to the I2C bus
On exit:
Return 0 to indicate that the write failed and non 0 to indicate that the write was successful