Example of I2C I/O expander (PCF8574AP) usage