-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hi All,
I would like to test the on-board temperature sensor on my TelosB units,
using the Oscilloscope application under TinyOS 2.0.1. From the TinyOS 2
tutorial I can see that by default the Oscilloscope application uses the
platform's default sensor set in DemoSensorC.nc - which for the TelosB
is the battery voltage. I have made the following change in
OscilloscopeAppC.nc, from this:
components OscilloscopeC, MainC, ActiveMessageC, LedsC,
new TimerMilliC(), new DemoSensorC() as Sensor,
new AMSenderC(AM_OSCILLOSCOPE), new AMReceiverC(AM_OSCILLOSCOPE);
To this:
components OscilloscopeC, MainC, ActiveMessageC, LedsC,
new TimerMilliC(), new TempC() as Sensor,
new AMSenderC(AM_OSCILLOSCOPE), new AMReceiverC(AM_OSCILLOSCOPE);
However when I attempt to compile this I get the follow error:
In component `OscilloscopeAppC':
OscilloscopeAppC.nc:27: component TempC not found
OscilloscopeAppC.nc:27: component `TempC' is not generic
OscilloscopeAppC.nc:35: no match
make: *** [exe0] Error 1
Does this mean that TinyOS 2 does not implement a temperature sensor for
the TelosB? If so could someone please tell me how I can read the
temperature from my TelosB units?
Kind regards,
- --
Adam J. Forster
Software Developer
School of Computing and Information Technology
University of Wolverhampton
Technology Centre (MI Building)
Wulfruna Street
Wolverhampton
WV1 1SB
United Kingdom
E-mail: [EMAIL PROTECTED]
Web: http://adamforster.org
Telephone: (+44 1902) 518529
Internal: 8529
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iD8DBQFGVWDACYFIi4Ji36URAjCEAJ0e72klNJSN90vwkJ+q1UPllYPWqgCcDY32
mU6Qo+QTBnES0v8fbbzh82M=
=ucFM
-----END PGP SIGNATURE-----
_______________________________________________
Tinyos-help mailing list
[email protected]
https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help