Closed viktak closed 6 months ago
I have the same issue, but not sure how they worked in some previews tests. Looks like when are declared as inputs the pins output LOW.
Update: the pins are working, but they draw about 100mA because of the very low internal resistance (~30ohm)
@mariusmotea Did you actually try it with pull up resistors? I'm asking, because I did, and it did not make a difference..
Hi, First of all, thanks for all your hard work on this and the PCF8574. That one I use all the time with no problems. Recently, I tried to do the same things with the PCF8575. All the ports work as expected as OUTPUT like this:
Awesome! But when I try to use the ports as input they fail miserably:
resulting in this:
Looking at the circuit with an oscilloscope I can see that although all the pins are pulled up to 3.3V with a 10k resistor, the PCF8575 pulls them down constantly to Gnd.
I have already spent 2 days on trying to figure out what went wrong, but I'm stuck. Any idea what I'm missing?
Thanks for any pointers!
ps: my environment is Windows 11 64 bit, VS Code with PlatformIO. and this is the relevant bit of
platformio.ini
: