On Jul 23, 2006, at 7:24 PM, Conor Todd wrote:

Hi Alexandre. No worries about asking questions -- we're all novices at some point!

In TinyOS, a read from a sensor is generally split into two phases: the request, and the read. You make the request for a reading from your ADC (or whatever the sensor's connected to) and then go off and do other things. At some point, you recieve an event which signals the return from that read.

Both the request and the read are special functions. I'd suggest that you read the latest version of the TinyOS programming manual; you can find it here: http://csl.stanford.edu/~pal/pubs/tinyos- programming-1-0.pdf


A brief note: it's better to use the URL

http://csl.stanford.edu/~pal/pubs/tinyos-programming.pdf

to access the most recent version of the programming manual. The other link points to 1.0, and if there's a 1.1...

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

Reply via email to