-
-
Notifications
You must be signed in to change notification settings - Fork 9
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
I2CkeyPad and PCF8575 not working together #21
Comments
Sorry for the long delay, I missed the notifications. |
The possible I2C addresses of the PCF8574 and the PCF8575 do overlap. Have you tried to give the PCF8574 and the PCF8575 different addresses? Another option is to use a PCF8574A for the keypad as this has another address range. |
Will add a section to the readme.md file like this I2C addressesThis library uses a PCF8574 or a PCF8574A chip.
Is the problem still actual? |
Created develop branch with new readme.md |
Not is a addresses conflict, when I tried both on the same I2C bus they had different addresses and conflicted. In my project I solved it by using two different I2C buses. |
@ennio64 If I recreate the setup of an PCF8574 and PCF8575 on one bus I see two different I2C addresses. If you have time, can you please elaborate on this? If no time, no problem, then I just close the issue. |
I2CKeyPad version=0.4.0 and PCF8575 version=0.2.3 not working together.
On stm32f411 individually they work well but together on the same bus they conflict.
I change the I2C bus for pcf8575 (use I2C3 SCL=PA8 and SDA=PB4)
TwoWire myWire(PB4, PA8);
PCF8575 PCF8575A(0x20, &myWire);
and work.
The text was updated successfully, but these errors were encountered: