]> oss.titaniummirror.com Git - tinyos-2.x.git/blobdiff - apps/tests/deluge/Blink/BlinkAppC.nc
Merge TinyOS 2.1.1 into master.
[tinyos-2.x.git] / apps / tests / deluge / Blink / BlinkAppC.nc
index dae60f6a047f87a0f6950a9512685dc2ebdf1eda..1d873c40ac48ad3861704d86aeaaf95babc9bdb4 100644 (file)
@@ -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.
  *
  * @author Razvan Musaloiu-E. <razvanm@cs.jhu.edu>
  **/
 
-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;
 }