Hi again,

I used the following method to change a register value:

buff[0] = registerAddr;
buff[1] = value;

call I2CPacket.write(I2C_START | I2C_STOP, deviceAddr, 2, buff);

The I2CPacket.writeDone is triggered and error_t is SUCCESS.
Somehow, after writing, when I read from that register, the value is still the 
old one.
What could be the reason? Thx.

Institute for Infocomm Research disclaimer:  "This email is confidential and 
may be privileged. If you are not the intended recipient, please delete it and 
notify us immediately. Please do not copy or use it for any purpose, or 
disclose its contents to any other person. Thank you."

_______________________________________________
Tinyos-help mailing list
[email protected]
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Reply via email to