Quote Originally Posted by CuriousOne View Post
Well, if there's syntax error, compiler should warn about it, right?
no the compiler produces code to I2CREAD DPIN,CPIN from device $A0 @eeprom address B0,X then read nothing as asked for
there is no error

I tried to add brackets and now it starts working, but in the weird way.


I2CWRITE DPIN,CPIN,$A0,B0,[127]
Writes 127 into eeprom
but if I substitute variable there, no matter, byte or word
after reading, I'm getting zeroes.
produce a compliable example that demonstrates the problem