Hi MINHLE, I have to admit that I did understand what you are trying to do!
how about the page boundary 256 bytes is this located in the pic?
if so, when i use LOOKUP, the boundary is 256 bytes
You should not worry PBP will take care of the pic internal page boundary.
The code you have posted for tranferring 256 byte from your lookup table to the serial eeprom will not work. Here a working snippet:
Code:
AA var Word
KK var Byte
II var Byte
Buffer Var Byte [64]
For KK = 0 to 192 step 64
For II = 0 to 63
AA = II + KK
Lookup AA,[1st.......255th], Buffer[II]
Next II
AA = AA - 63
I2CWRITE DataPin, ClockPin, Control, AA, [Str Buffer\64]
Next KK
Al.
Bookmarks