]> oss.titaniummirror.com Git - tinyos-2.x.git/blobdiff - apps/tests/deluge/Blink/BlinkAppC.nc
Address Vlado's comments and improve the GoldenImage's README.
[tinyos-2.x.git] / apps / tests / deluge / Blink / BlinkAppC.nc
index dae60f6a047f87a0f6950a9512685dc2ebdf1eda..2189ce46059aa1a8cfd8b75eb26dbc1255c01de1 100644 (file)
  * @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;
 }