LordNicon1987:
I will use the library TroykaDHT.hI had to rewrite it completely, or rather put it into the code.
Instead
pinMode (_pin, OUTPUT); -> PCF8574.pinMode (0, OUTPUT);
digitalWrite (_pin, LOW); -> PCF8574.digitalWrite (0, LOW);
pinMode (_pin, INPUT_PULLUP); -> PCF8574.pinMode (0, INPUT_PULLUP);
digitalRead (pin); -> PCF8574.digitalRead (0);In general, take out of the library! and completely rewrite. :
Hi, any luck ?