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
 


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

Reply via email to