]> oss.titaniummirror.com Git - tinyos-2.x.git/blobdiff - apps/tosthreads/apps/Blink/BlinkAppC.nc
Merge TinyOS 2.1.1 into master.
[tinyos-2.x.git] / apps / tosthreads / apps / Blink / BlinkAppC.nc
index 7748e878667a9395b9291d2cfc81abb750413747..850583121233b16ef5b74cc56dd9afbe7d7b4f0b 100644 (file)
  */
  
 /**
+ * Blink is a simple application used to test the basic functionality of
+ * TOSThreads.
+ *
+ * Upon a successful burn, you should see LED0 flashing with a period of every
+ * 200ms, and LED1 and LED2 flashing in unison with a period of 1000ms.
+ *
  * @author Kevin Klues (klueska@cs.stanford.edu)
  */
 
@@ -37,10 +43,10 @@ configuration BlinkAppC {
 }
 implementation {
   components MainC, BlinkC,  LedsC;
-  components new ThreadC(800) as NullThread;
-  components new ThreadC(800) as TinyThread0;
-  components new ThreadC(800) as TinyThread1;
-  components new ThreadC(800) as TinyThread2;
+  components new ThreadC(100) as NullThread;
+  components new ThreadC(100) as TinyThread0;
+  components new ThreadC(100) as TinyThread1;
+  components new ThreadC(100) as TinyThread2;
 
   MainC.Boot <- BlinkC;
   BlinkC.NullThread -> NullThread;