This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

PCF8574A: Reading from P0-P3

Part Number: PCF8574A

Hi Team,

Our customer would like to read the inputs from P0-P3 of PCF8574A but can't figure out how to program the device. According to our customer,

I see that msp430g2xx3_uscib0_i2c_02.c (ti.com) says its an example for PCF8574A. But I can’t find the code where its reading inputs from P0-P3 in it. Does the data just appear in the UCB0RXBUF on its own?

I only need the parts specific to reading input from PCF8574A. Is it possible to get an example for one of the C2000 family devices?

Regards,

Danilo