Odd problem with PCF8574 expansion board

Not surprisingly as you can't even pick the right place to post your question.

Installation and Troubleshooting is for Problems with the Arduino IDE itself NOT your project. It says so in the description of the section. Therefore I have moved your post here.

You might want to look at this How to get the best from this from this Forum before you proceed any further.