I have two cards with PCF8575
When I turn on the leds they only stay on for a brief moment, then they turn off.
With library it’s the same thing.
With the shunt done (5V) or not (3.3V).
I’ve been around this for a week and I don’t know what’s wrong.
MOERATOR EDIT : inappropriate aside removed
const byte address = 0x20;
// all ports as output
pf8575_write ( word (B11111111,B11111111) );
// Set P1, P0
pf8575_write ( word (B00000000,B00000011) ); // P1 e P0
void pf8575_write (word data)
Wire.write ( lowByte (data) );
Wire.write ( highByte (data) );