     : 

C:\cvavr2\inc -- pcf8574.h

C:\cvavr2\lib -- pcf8574.lib

    V   .
The pcf8574 Functions are:

/* read a byte from the EEPROM */
unsigned char remote_read(unsigned char address);

/* write a byte to the EEPROM */
void remote_write(unsigned char address, unsigned char data);




#include <pcf8574.h>

void main(void) {

unsigned char value;


/* initialize the I2C bus */
i2c_init();


/* read sost from the pcf8574 */
value = remote_read(address); //   

/* write sost from the pcf8574 */
remote_write(address, data); //  


/* ........ */
}
