Greetings everyone!
I have a problem that seems to be a bug.
I need to read 8 inputs from the PCF8574A:
P0 I read in register 0x01
P1 I read in register 0x02
P2 I read it in register 0x04
P3 I read it in register 0x08
P4 reads it in register 0x20 (the 0x10 is skipped, bug?)
P5 I read it in register 0x40
P6 I read it in register 0x80
P7 I can't read it
In the program downloadable here,
https://drive.google.com/file/...jVw5vYL2u_k3n/view?usp=sharing
I did a test of reading from a PCF8574A with add. 0x38 and writing to the outputs of another PCF8574A with add. 0x39
P0 to P6 all OK, P7 I can't read, I don't know which register to go to.
Thank you very much in advance.
(Sorry for the English, I am using the translator).
Translated with DeepL.com (free version)