When applying the Blink application on tmote sky, I find if I add one
more "BlinkC.Leds -> LedsC; " statement to the file BlinkAppC.nc, the
Leds stop blinking. Here is the code of BlinkAppC.nc:

I mean, if one change the code of BlinkAppC.nc to be the following,
the Leds wont blink:

configuration BlinkAppC
{
}
implementation
{
  components MainC, BlinkC, LedsC;
  components new TimerMilliC() as Timer0;
  components new TimerMilliC() as Timer1;
  components new TimerMilliC() as Timer2;


  BlinkC -> MainC.Boot;

  BlinkC.Timer0 -> Timer0;
  BlinkC.Timer1 -> Timer1;
  BlinkC.Timer2 -> Timer2;
  BlinkC.Leds -> LedsC;
  BlinkC.Leds -> LedsC;
}


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

Reply via email to