Hi to all,

I'm using the driver ADLX345 provides by Zolertia and I have a question.
Them you  granted the resource I2C and you are in the case ADXLCMD_START,
why you fill the two first positions of databuf  with a value that refering
to the same register THRES HOLD TAP (I don't know if the databuf[1] is for
THRESH_TAP or OffsetX). Can you  help me, please ?

databuf[0] = ADXL345_THRESH_TAP;
databuf[1] = 0x40;                      //ADXL345_THRESH_TAP
_______________________________________________
Tinyos-help mailing list
[email protected]
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Reply via email to