One thing to remember:
Constants should not be used for control commands.
Ex:
Cont CON %10100000
Use them as BYTE variables.
Ex:
Cont CON %10100000
Control VAR BYTE
Control = Cont
Now, use "Control" instead of Cont.
I2CWRITE SDA,SCL,Control,Addr,[x]
==========================
Bookmarks