mikroC

mikroC - C Compiler for Microchip PIC microcontrollers

making it simple...

Soft_I2C_Write

Prototype

char Soft_I2C_Write(char data);

 

 

Returns

Returns 0 if there were no errors.

 

 

Description

Sends data byte (parameter data) via I²C bus.

 

 

Requires

START signal needs to be issued in order to use this function. See Soft_I2C_Start.

 

 

Example

Soft_I2C_Write(0xA3);

 

 

Soft_I2C_Stop

Prototype

void Soft_I2C_Stop(void);

Description Issues STOP signal.

Requires START signal needs to be issued in order to use this function. See Soft_I2C_Start.

Example Soft_I2C_Stop();

page

 

256

MikroElektronika: Development tools - Books - Compilers