components new TimerMilliC() as Timer2;
BlinkC -> MainC.Boot;
- MainC.SoftwareInit -> LedsC;
BlinkC.Timer0 -> Timer0;
BlinkC.Timer1 -> Timer1;
BlinkC.Timer2 -> Timer2;
uses interface Timer<TMilli> as Timer1;
uses interface Timer<TMilli> as Timer2;
uses interface Leds;
- users interface Boot;
+ uses interface Boot;
}
implementation
{
components new TimerMilliC() as Timer2;
BlinkC -> MainC.Boot;
- MainC.SoftwareInit -> LedsC;
BlinkC.Timer0 -> Timer0;
BlinkC.Timer1 -> Timer1;
BlinkC.Timer2 -> Timer2;