Hello IgorSK,
Ya, thanks for your advice. I just found one useful method to test their replies. Simon have wrote a useful test program to check the exist of I2C devices. I2CU
The I2CU program checkup is 0x7E address. This address is working for me is we put fix/const value.
....
if (0 == write(0x55)) {
...
...
write(0xAA);
wait(0.2);
..
.
The output LED is blinking ON and OFF.
If i put something variable value then my output LED will always stay ON.
....
if (0 == write(i)) {
...
...
i++;
wait(0.2);
..
.
P/s: may i know how to put the text to next line? I still can't type my sentence to next line when i do post reply. Is it every sentence we must put a '.'+'enter' then only can go to next line? :(
Dear All,
I'm using this sample code to do some modification.
The problem that i facing is when i write a variable value to PCF8574 it is not working. It just work for const. value which is like sample code.
Following coding is what i trying to test.
Is it the coding problem or compiler issue?
Thank you...