PCF8547AP not responding

erdc

Member
I have seen other post saying they can communicate with this 8-bit I/O expander I2C chip. But I seem not to be able to. All I want to do is just turn on all or one of the outputs.
---------------------
i2cslave %01110000, i2cfast, i2cbyte

writei2c 0,(%11111111)' turn on all
pause 1000
writei2c 0,(%00000001)' turn on one

' %0111aaaX would is the call for the PCF8547AP;
' where aaa is the Adress and X is for (1) read or (0) write
 
Top