Arm Mbed OS support forum

PCF8574A Digital Input

Hi All,

I’m using some PCF8574A chips to expand my IO on the I2C bus. I have been trying to develop my skills, and I’ve managed to get an LED to flash by writing to port state to the PCF8574A . Does anyone have a simple flowchart/pseudocode to do so. I’ve found the specific library for the PCF8574A, but I’m not sure how to implement it for a DigitalIn.

Please let me know if you have any queries.

Kind Regards