Answering to myself for someone who may experience the same problem later.

As the accelerometer gives fast varying data, the function "inline bool
isPrecise()" in "/tinyos-main/tos/chips/atm1281/adc/Atm128AdcP.nc" gives
negative making the accelerometer values zero. It works if you change this
function and make it return true.

Regards,
EK Lee




On Sun, Aug 25, 2013 at 8:33 AM, EunKyung Lee <[email protected]> wrote:

> Hi all,
>
> I tested mts400tester code in /apps/tests/mts400 with Iris + MTS400, but
> only the accelerometer gave zero all the time, while other measurements
> (temperature, humidity, pressure) are correct.
>
> Has anyone had similar problem?
>
> Regards,
> EK Lee
>
>
>
_______________________________________________
Tinyos-help mailing list
[email protected]
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Reply via email to