Hello lamiaimeil,

Because you are using the interface Timer2, I assume you are using
Boomerang.  Though, my comments apply equally to TinyOS 2.x.

Because most all mote platforms operate at around 1 MIPS, a
virtualized timer with more precision than one millisecond does not
make a lot of sense.  So, only millisecond timers are supported by
default.

If you need more precision, use a 32khz alarm, which is more
efficient, with the component Alarm32khzC.

Cory

On 9/7/06, lamiaimeil <[EMAIL PROTECTED]> wrote:
Hi all,
I want to use timers so I wire TimerMilliC component
for use interface Timer2. As I read in TEP102 there is
a <precision_tag> (TMilli, T32khz, or TMicro). When I
use Timer2<TMilli> my program compiles and works but
if I use Timer2<TMilli> or Timer2<T32khz> I have this
error:

In component `Myapp':
Myapp.nc:18: no match
make: *** [exe0] Error 1

Why? I don't understand..
Thanks in advance.

__________________________________________________
Do You Yahoo!?
Poco spazio e tanto spam? Yahoo! Mail ti protegge dallo spam e ti da tanto 
spazio gratuito per i tuoi file e i messaggi
http://mail.yahoo.it
_______________________________________________
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