]> oss.titaniummirror.com Git - tinyos-2.x.git/blobdiff - apps/tosthreads/apps/TestSineSensor/TestSineSensorAppC.nc
Updated documentation on all of the applications as well as modified the TestJoin...
[tinyos-2.x.git] / apps / tosthreads / apps / TestSineSensor / TestSineSensorAppC.nc
index b37d3bbb46e2ac51f843f218dcdafd5b56703c7d..926a68090718db89ba4f5e7d95603d845941d5c6 100644 (file)
  */
  
 /**
+ * This application is used to test the threaded version of the API for accessing
+ * the software based SineSensor usable by any platform for demonstration purposes.
+ * 
+ * This application simply takes sensor readings in an infinite loop from the
+ * SineSensor and forwards them over the serial interface.  Upon successful
+ * transmission, LED0 is toggled.
+ *
  * @author Kevin Klues (klueska@cs.stanford.edu)
  */
 
@@ -37,7 +44,7 @@ configuration TestSineSensorAppC {
 }
 implementation {
   components MainC, TestSineSensorC;
-  components new ThreadC(100) as MainThread;
+  components new ThreadC(150) as MainThread;
   
   components new BlockingSineSensorC();
   components BlockingSerialActiveMessageC;