Hello
i try to use str array with array start point at i2cwrite and i got compiling error.
Example:
I2C var byte[128]
I2C_C var byte
Cell var byte ;start point of the array
I2C_C=32
Cell=32
i2cwrite sda2,scl2,%10100000,Eaddress,[str I2C[Cell]\I2C_C],ASKfail
if i use "[Cell]" i got error- (4150): "STR" modifier can only be used with a variable
if i use "Cell" (start point of the array) on debug or hserout or arraywrite it work fine
hserout [str I2C[Cell]\I2C_C]
debug str I2C[Cell]\I2C_C
arraywrite I2C[Cell],[x.x.x.x......]
Has anyone met with this problem?
Thanks
Bookmarks