Driver for an NXP PCF8575 16-bit port expander.
The PCF8575 is a 16-bit port expander where each of the bits can function as either an input or an output.
The PCF8575 is functionally identical to the PC8575, PCF8575C, PCF8574, PCA9535, PCA9555, and probably many others.
All correct at time of writing, but as always, manufacturers love to move things around on their website.
http://www.nxp.com/documents/data_sheet/PCF8575.pdf
This code has been tested using a SolderCore controlling a SenseCore.
Constants | |
PCF8575_I2C_ADDR | 8-bit I2C address for PCF8575 |
Functions | |
pcf8575_initialize_i2c | Initialize bus expander on I2C bus |