Mikroc – ABL electronic PIC Microcontrollers PIC16 User Manual

Page 264

Advertising
background image

mikroC - C Compiler for Microchip PIC microcontrollers

mikroC

making it simple...

256

MikroElektronika: Development tools - Books - Compilers

page

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_Write

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();

Soft_I2C_Stop

Advertising
This manual is related to the following products: