Howdy,

> Each node has to store and modify an integer value, where can I define
> this variable?

Take a look at:

http://docs.tinyos.net/index.php/Modules_and_the_TinyOS_Execution_Model

The tutorial describes using a counter variable to store the number of
times a counter has fired and uses that counter to modify the LEDs that
are set on the mote.  In general the set of tutorials at:

http://docs.tinyos.net/index.php/TinyOS_Tutorials

are a great source for sample code and documentation to get you started
on TinyOS projects.

Best of luck!
-Roy
_______________________________________________
Tinyos-help mailing list
[email protected]
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Reply via email to