X-Git-Url: https://oss.titaniummirror.com/gitweb/?a=blobdiff_plain;f=apps%2Ftests%2Fdeluge%2FBlink%2FBlinkAppC.nc;h=1d873c40ac48ad3861704d86aeaaf95babc9bdb4;hb=e9bfab607e051bae6afb47b44892ce37541d1b44;hp=dae60f6a047f87a0f6950a9512685dc2ebdf1eda;hpb=e7b03f1e5e4f410541744b9ebc686f1be1a8054b;p=tinyos-2.x.git diff --git a/apps/tests/deluge/Blink/BlinkAppC.nc b/apps/tests/deluge/Blink/BlinkAppC.nc index dae60f6a..1d873c40 100644 --- a/apps/tests/deluge/Blink/BlinkAppC.nc +++ b/apps/tests/deluge/Blink/BlinkAppC.nc @@ -28,7 +28,7 @@ */ /** - * Blink is a basic application that toggles the a mote LED periodically. + * Blink is a basic application that toggles a mote's LED periodically. * It does so by starting a Timer that fires every second. It uses the * OSKI TimerMilli service to achieve this goal. * @@ -37,16 +37,17 @@ * @author Razvan Musaloiu-E. **/ -configuration BlinkAppC -{ -} +configuration BlinkAppC { } + implementation { - components MainC, BlinkC, LedsC, DelugeC; + components MainC, BlinkC, LedsC; components new TimerMilliC() as Timer0; + components DelugeC; - BlinkC -> MainC.Boot; + DelugeC.Leds -> LedsC; + BlinkC -> MainC.Boot; BlinkC.Timer0 -> Timer0; BlinkC.Leds -> LedsC; }