On Sep 13, 2006, at 5:06 AM, Andres Aberasturi wrote:


Hi,

I do know the problem, but I think you can write any word (Timer o anything) if you have defined it corretly.


For TimerC, you cannot. You have to use the same string that is used in the component to compute the uniqueCount. This is "Timer". Other components might use different strings. Inside TimerC:

    uint8_t queue[NUM_TIMERS];

interfaces/Timer.h:


#define NTIMERS uniqueCount("Timer")

and

    NUM_TIMERS = NTIMERS

(the #define is in case you are using a version of nesC which does not support unique/uniqueCount).

Phil

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

Reply via email to