I want the following commands to happen order

call Single.getData(1,0,0,0);
post sendInfo();

the sendInfo() task uses the reading from the previous ADC command. How do I make it so post sendInfo() doesn't get executed until my ADC  reading has occurred, without posting the task in Single.dataReady? Do I need an atomic statement somewhere?

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

Reply via email to