[Tinyos-help] A simple problem about BusyWait.
eamin_winfor at 126.com
eamin_winfor at 126.com
Mon May 14 00:53:23 PDT 2007
Hi All
I 'm working with tinyos2.0, and a problem about interface "<A name=busywait>BusyWait</A>" has puzzled me for a few days.
The problem is :
i want a mote sleep for a few moment, so i used the interface "BusyWait " provided by BusyWaitCounterC.
but when i compile my code i got an error that:
> /opt/tinyos-2.x/tos/lib/timer/CounterToLocalTimeC.nc : in function '
> LocalTime.get':
> Counter.get not connected.
I think that may because BusyWaitCounterC is not wired to a provider of the
Counter interface which it uses.So i used the "<SPAN class=pre><FONT face=新宋体>CounterMilli16C.nc</FONT></SPAN> provides <TT class="docutils literal"><SPAN class=pre>Counter<TMilli,uint16_t></SPAN></TT> " in tinyos-2.x/tos/chips/msp430/timer. And wire the two componets. But more error comes out.
I was lost. And any suggertion is appreciated.
Best regards.
Eamin
--------------------------
XiDian University
Postal Software R&D Lab
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.millennium.berkeley.edu/pipermail/tinyos-help/attachments/20070514/437123ac/attachment.html
More information about the Tinyos-help
mailing list