Home
Prox / RFID
Verichips
Ladder Logic
[interfacing] †
Tube Joints
Key Code From Photo
SolveSpace (3d CAD)
SketchFlat (2d CAD)
Photographs
Miscellany
Resume / Consulting
Contact Me

LDmicro Forum - I2C not read P7 of PCF8574A

(you are viewing a thread; or go back to list of threads)

I2C not read P7 of PCF8574A (by gabri)
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)
Mon Mar 11 2024, 13:02:45
Post a reply to this comment:
Your Name:
Your Email:
Subject:
(no HTML tags; use plain text, and hit Enter for a line break)
Attached file (if you want, 5 MB max):