Im no expert, but don't you have to send data. All the examples I've seen, and use send and receive a variable after the address, eg to send the value of a word variable
I can't see that in your codeCode:I2CWRITE SDApin,SCLpin,i2cWriteAddress,i2cControl,[variable.lowbyte,variable.highbyte]
Also I think you need to set one device as a slave and another as master, so maybe posting your arduino code could also help those more qualified to comment to asses whats going on
Bookmarks