Hi,
i am strugling writing to a PCF8575 board.
I want to set an individual pin high ot low just like the pins that are on the espboard.
Setting that pin must not influence the other pins.
All the examples that i find are not working or setting a range of pins in one time.
what i want is like this:
int Fan = 27;//Fan relay pin
pinMode(Fan, OUTPUT);
digitalWrite(Fan, HIGH);
on an event:
digitalWrite(Fan, !digitalRead(Fan)); //togle
it is working whit the pins on board but not with the pins on the PCF8575 board
Can some one point me the right direction ?