Home › Forums › The libraries hosted on the site › PCF8574 i2c digital I/O expander › Can’t get PCF8574 lib working on Wio Terminal › Reply To: Can’t get PCF8574 lib working on Wio Terminal
Hi, I doublechecked the SDA and SCL pins (are o.k.)
When I enable debug messages I get:
Starting…
Set pin 0 as 1
W: 1 R ALL: 0 R Down: 0R Up: 0
Set pin 1 as 0
W: 1 R ALL: 10 R Down: 10R Up: 0
Init pcf8574…Set write mode
resetInitial pin 11
Start end trasmission if stop here check pullup resistor.
When I set breakpoints in the driver code it reaches:
this->transmissionStatus = _wire->endTransmission();
when I set breakpoints in the return statements of TwoWire::enttransmission none of the three posible returns is reached.
I had 4.7 k pullups, didn’t work and I removed the pullups, didn’t work
Does it work on your side with the Wio Terminal?