TransmitSlow Function

Transmits a byte to the I2C device with most significant bit first. Transmits using the software I2C method with long delays so any slow I2C device can work without problems.

Syntax

ERRCODE TransmitSlow( UBYTE dataByte )

Parameters

UBYTE - The byte to be transmitted on the I2C bus. SCL and SDA should be low on entry.

Return Value

ERRCODE:
- 1 if operation fails
- SUCCESS if operation is successful.

Remarks

SCL and SDA are reset upon return.

Requirements

i2c.h

Example

N/A