Make sure of the IC Type. A PCF8574 (non A) has an upper nibble of 4 for the address and the PCF5874A version has an upper nibble of 7 for the address. NXP did this to allow upto 16 devices on the I2C bus.