avdweb_Switch
avdweb_Switch copied to clipboard
PCF8574 or similar I2C
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.
here is the temporary link copy it and keep it private. https://drive.google.com/drive/folders/1NX9dxHmMQatnGJzJPplcIcX8PmGATut4?usp=sharing
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.