Aw c'mon Sayzer, that's a no-brainer...
Too much wine, women and song this festive period...
You're trying to READ from a device, and then attempting to store that data into a series of CONSTANTS??? Maybe that's where CONSTANTinople comes from...
I prescribe a large mug of Turkish coffee and a code revision to something like...
Code:
dA var BYTE
dB var BYTE
dC var BYTE
dD var BYTE
dE var BYTE
dF var BYTE
dG var BYTE
Start:
I2CREAD PORTA.3,PORTA.2,$D0,0,[dA,dB,dC,dD,dE,dF,dG]
GOTO Start
END
Alternativelty swap IC2READ with I2CWRITE if you are really intending to WRITE.
Happy Holidays everyone!
Bookmarks