Hi
i use tinyos 1.1, and i have a question: in SenseToInt there is a part of code
that i don't understand:
"void task outputTask() {
uint16_t rCopy;
atomic {
rCopy = reading;
}
call IntOutput.output(rCopy >> 7);
}"
why there is >>7??
i try to use the code with the sensor of Temperature of Tmote sky and i find
out a value of temperature that is impossible.
( I USE "value/4096 * Vref" AND
"T = (Vtemp - 0.986)/0.00355" )
Where is the mistake???
------------------------------------------------------
Passa a Infostrada. ADSL e Telefono senza limiti e senza canone Telecom
http://click.libero.it/infostrada
_______________________________________________
Tinyos-help mailing list
[email protected]
https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help