change i2cread and i2cwrite line. control word must be a variable, not a simple value....
cont=$a0
I2CWrite PORTC.4,PORTC.3,cont,add,[char]
be sure you have around 4.7K pull up, write/protect pin to ground too.
be also sure SCL and SDA are not reverted ...happen sometimes
Bookmarks