Dear Dipti Jaiswal,

I found a DemoSensorC file in the folder of '/tos/platforms/mic2'. In
TEP109, it said the capabilities of a physical sensor are made available to
a TinyOS application through a sensor driver. It also said TinyOS
2.xrepresents each sensor as an individual component. In my
application, a
MTS310 is installed on MICA2. How can I make the system know I will use
MTS310 when I make it like 'make mica2'? Is it necessary that I write any
include file inside some file?

Thanks.

Fangming

On 5/3/07, Dipti <[EMAIL PROTECTED]> wrote:

 Hi Fangming,

The DemoSensorC file being used in the Oscilloscope application depends on
the sensorboard which u r using, either micasb, basicsb or any other. That
in turn depends on the platform you are using. (mica,mica2,rene2,mica128).
If you are using mica2 for instance then the demosensorC file used is the
one under micasb.

Hope this helps.

Regards,
Dipti Jaiswal.



----- Original Message -----
*From:* Fangming Zhang <[EMAIL PROTECTED]>
*To:* [email protected]
*Sent:* 2007 May 03 10:29 AM
*Subject:* [Tinyos-help] How to configure or know which DemoSensorC is
used?

Hi,

I have read lesson 5 of tinyos 2.0 for several times. I still can not
understand how to configure AD. As there are several DemoSensorC.nc files,
which one will be used in my application? Could you explain it using the
case of Oscilloscope?

Thanks.

------------------------------

_______________________________________________
Tinyos-help mailing list
[email protected]
https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help


_______________________________________________
Tinyos-help mailing list
[email protected]
https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Reply via email to