]> oss.titaniummirror.com Git - tinyos-2.x.git/blobdiff - apps/tests/TestPrintf/TestPrintfAppC.nc
added a README.txt, updated source code documentation
[tinyos-2.x.git] / apps / tests / TestPrintf / TestPrintfAppC.nc
index 37c0bb1d2afe51ea51da4aef266909c3715d78bb..9332725a0869fe95354abe028bdc5557d0fe1a61 100644 (file)
  * OBLIGATION TO PROVIDE MAINTENANCE, SUPPORT, UPDATES, ENHANCEMENTS, OR
  * MODIFICATIONS."
  */
+
 /**
+ * This application is used to test the basic functionality of the printf service.
+ * Calls to the standard c-style printf command are made to print various strings
+ * of text over the serial line.  Only upon calling printfflush() does the
+ * data actually get sent out over the serial line.
  *
  * @author Kevin Klues (klueska@cs.wustl.edu)
  * @version $Revision$
  * @date $Date$
  */
+
 #include "printf.h"
 
 configuration TestPrintfAppC{
 }
 implementation {
-  components MainC, TestPrintfC, LedsC;
-  components PrintfC;
+  components MainC, TestPrintfC;
 
   TestPrintfC.Boot -> MainC;
-  TestPrintfC.Leds -> LedsC;
-  TestPrintfC.PrintfControl -> PrintfC;
-  TestPrintfC.PrintfFlush -> PrintfC;
 }