I resolved some problem in my code, but something trouble me about the FOR...Next loop. My code is :
For address = 0 to last STEP 4
I2CREAD SDA,SCL,cbit,address,[xsend.Highbyte]
address = address + 1
I2CREAD SDA,SCL,cbit,address,[xsend.Lowbyte]
...
Next
My value in my EEPROM are like this (numbers are EEPROM locations) :
01 23 45 67 89
|xx|yy|xx|yy|xx|...
Normally, the output value of address should be : 0,4,8,12,16,...
But will the '' address = address + 1 '' line affect this output, giving result like this : 0,5,10,15,20,... ????????
This should be an easy question for you
Bookmarks