Dear Sir
 
May I know the below info is based on tinyos1.1 or tinyos2.x?
because I can not find tos/sensorboards/micasb/ folder under tinyos2.x. thx!
 
 

________________________________

From: Michael Schippling [mailto:[EMAIL PROTECTED]
Sent: Wed 11/8/2006 3:31 AM
To: Yao Hui
Cc: [email protected]
Subject: Re: [Tinyos-help] Problem of using mica2 and sensor function



Try:   make mica2 docs
and then go look in:  tinyos.../doc/nesdoc/mica2
there should be a file like:  apps.Sense.Sense.nc.html
which will have a navigable graph of the modules used in the program.

If you look closely enough you will find that each module (sort of)
states where it's source file is. In the case of DemoSensor,
it is:  tinyos.../tos/sensorboards/micasb/DemoSensorC.nc
and is just a (pointless? obfuscatory? you decide?) wrapper around
the Photo module which goes to PhotoTemp, which in turn _finally_
just basically calls ADCC in the platform/mica2 directory.

There are some plugins for Eclipse that (claim to) help with TOS navigation
but I haven't tried them. Otherwise you basically just have to know where
the inventors put everything...

Also, assuming you did not know about the "make docs" thing, you should
read through the doc/tutorial.

MS

Yao Hui wrote:
> Dear Sir
>
> I am a University Student in Singapore. I am trying to use the sounder and 
> photo sensors from a mica2 mote. I looked over Sense application and I saw 
> that it uses DemoSenorC and I look under the mica2 directory to see what 
> happens in that DemoSensorC. I couldn't figure out how to use the sensors. If 
> you know the answer can you kindly tell me? thx!
>
>
> Yao Hui
>
> _______________________________________________
> 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