Hello all

In tinyos-1.x it looks like you can call TOSH_uwait(1) to put a 1 ms pause
in your program T2 doesn't seem to have this command so I'm using the
following

uses interfaceTimer<TMilli> as Timer1;
...
call Timer1.startOneShot(1);
while (call Timer1.isRunning(){}
...

However the while loop crashes

Any ideas?

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

Reply via email to