I connected my Arduino UNO with the PCF-8575 16 BIT I2C IO Expander(NXP). Also given 5V supply to PCF-8575.
I Have Written the below program to enable the Pin-7 as OUTPUT and expecting 5V output at Pin-7. However, I am getting the Pin-7 voltage between 0.25 and 1.25V INSTEAD of 5V.
I have also attached the connection diagram. Also, we are using PCF-8575 library.
How are you measuring that? You are only setting it high for 100 ms at a time. Maybe you should change the delay (to say 5000) so you can actually measure it.