[Tinyos-help] Tinyos-2.x problem reading temperature with MTS310
robfermar at gmail.com
robfermar at gmail.com
Thu Jan 3 03:18:12 PST 2008
I cannot read data from MTS310. I would like to read temperature and light
at the same time. I do all in Tinyos-2.x.
components new PhotoC();
components new TempC();
App.ReadP -> PhotoC; // Photo
sensor
App.ReadT -> TempC; //
Termistor
uses interface Read<uint16_t> as ReadP;
uses interface Read<uint16_t> as ReadT;
call ReadV.read()
call ReadT.read()
I do this but my answer is that I can read the photo sensor but I cant read
de temperature.
I have values as these:
Light: 03 4F, 0350,
.
Temp: always 00 00.
If somebody can help me, I would be tanked for it.
Thank you.
Roberto.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: https://www.millennium.berkeley.edu/pipermail/tinyos-help/attachments/20080103/e5202bf8/attachment.html
More information about the Tinyos-help
mailing list