Hi Janos Thanks that's what I was looking for!
Charles On Wed, Jul 9, 2008 at 4:16 PM, Janos Sallai <[EMAIL PROTECTED]> wrote: > Charles: > > > > Tinyos 2.x has BusyWaitMicroC. It is available on all platforms. > > > > Janos > > > > *From:* [EMAIL PROTECTED] [mailto: > [EMAIL PROTECTED] *On Behalf Of *Charles > Elliott > *Sent:* Wednesday, July 09, 2008 12:48 PM > *To:* [email protected] > *Subject:* [Tinyos-help] Wait in T2 > > > > 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
