avandalen/avdweb_Switch

PCF8574 or similar I2C

Opened this issue · 7 comments

Is it possible use this library with expander PCF8574 or similar I2C?

I added this to the article:
process
The member function process() makes it possible to use the library in case the buttons are not directly connected to the microcontroller, but for example via an I2C expander PCF8574. I have also successfully used process() in the two-wire current-controlled bus. Up to version 1.0.5 the function process has been tested.

Thank you for your response.
Could you send a short application example as I am not advanced enough.
Thank you.

But I cant help you further, have no time..

I am looking to do the same with a MCP23008 using IC2 would it be possible to send me the example as well? Thanks

AJTaylor79 You could use Albert lib with my modification - witch process() function.

The process() function no longer works as intended. I therefore had to use an old version of the library for a project. I don't have time to work on this.