X-Git-Url: https://oss.titaniummirror.com/gitweb/?a=blobdiff_plain;f=apps%2Ftosthreads%2Fapps%2FBlink%2FBlinkAppC.nc;h=850583121233b16ef5b74cc56dd9afbe7d7b4f0b;hb=e9bfab607e051bae6afb47b44892ce37541d1b44;hp=7748e878667a9395b9291d2cfc81abb750413747;hpb=4815890e50169007831bdba1871ddee1f4773372;p=tinyos-2.x.git diff --git a/apps/tosthreads/apps/Blink/BlinkAppC.nc b/apps/tosthreads/apps/Blink/BlinkAppC.nc index 7748e878..85058312 100644 --- a/apps/tosthreads/apps/Blink/BlinkAppC.nc +++ b/apps/tosthreads/apps/Blink/BlinkAppC.nc @@ -30,6 +30,12 @@ */ /** + * 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;