X-Git-Url: https://oss.titaniummirror.com/gitweb/?a=blobdiff_plain;f=apps%2Ftests%2Fdeluge%2FBlink%2FBlinkAppC.nc;h=1d873c40ac48ad3861704d86aeaaf95babc9bdb4;hb=e9bfab607e051bae6afb47b44892ce37541d1b44;hp=4cdad48b2f0b41b3de98df0941dc493d75066e5a;hpb=1275ad8c5c9368b541e7eeccfeb6bf20352e6330;p=tinyos-2.x.git diff --git a/apps/tests/deluge/Blink/BlinkAppC.nc b/apps/tests/deluge/Blink/BlinkAppC.nc index 4cdad48b..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,19 +37,17 @@ * @author Razvan Musaloiu-E. **/ -configuration BlinkAppC -{ -} +configuration BlinkAppC { } + implementation { components MainC, BlinkC, LedsC; -#ifdef DELUGE - components DelugeC; -#endif components new TimerMilliC() as Timer0; + components DelugeC; - BlinkC -> MainC.Boot; + DelugeC.Leds -> LedsC; + BlinkC -> MainC.Boot; BlinkC.Timer0 -> Timer0; BlinkC.Leds -> LedsC; }