In TinyOS, there's TOSH_uwait(int u_sec) that has the MCU perform a loop of no-ops (do nothing) for the specified number of microseconds.


Tony Han wrote:
Hey,

I am wondering in NesC, is there any function can make program wait for a few seconds? things like Sleep(10) in C++ or something similar. Anything can make program pause for a while.

Thanks

Tony
---------------------------------------------------------------------- --

_______________________________________________
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