-
Notifications
You must be signed in to change notification settings - Fork 4.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add support for PCA9557 8-bit IO expander #18632
Conversation
There are already enough supported IO expanders. Why add another? |
Add buttons and switches too. Works fine without interrupts. Report succesful functionality with your hardware before I consider merging. |
You are absolutely right, there are enough but sadly I have about a dozen installed light controllers that use MCP23017 and this PCA9557 (cheaper and was available compared to MCP23008).
Done, will commit soon.
Just finished adding and testing buttons and switches, will commit soon. I have tested:
|
Add support for PCA9557 8-bit I/O expander (#18632)
Description:
This change will add a driver for the PCA9557 8-bit I2C IO expander to be used as virtual relay.
Since the PCA9557 has no interrupt pin, button and switches are not implemented.
Based on the new released MCP23017 DRV as virtual switch/button/relay.
Checklist:
NOTE: The code change must pass CI tests. Your PR cannot be merged unless tests pass