]> oss.titaniummirror.com Git - tinyos-2.x.git/blobdiff - apps/tests/TestPrintf/TestPrintfAppC.nc
Update to use new way of doing printf
[tinyos-2.x.git] / apps / tests / TestPrintf / TestPrintfAppC.nc
index 37c0bb1d2afe51ea51da4aef266909c3715d78bb..db8bb2f07a9eb2069d6efc4eed2a5d2593cd353f 100644 (file)
  */
  
 /**
+ * This application is used to test the basic functionality of the printf service.  
+ * It is initiated by calling the start() command of the SplitControl interface 
+ * provided by the PrintfC component.  After starting 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.flush() does the data 
+ * actually get sent out over the serial line.
  *
  * @author Kevin Klues (klueska@cs.wustl.edu)
  * @version $Revision$
 configuration TestPrintfAppC{
 }
 implementation {
-  components MainC, TestPrintfC, LedsC;
-  components PrintfC;
+  components MainC, TestPrintfC;
 
   TestPrintfC.Boot -> MainC;
-  TestPrintfC.Leds -> LedsC;
-  TestPrintfC.PrintfControl -> PrintfC;
-  TestPrintfC.PrintfFlush -> PrintfC;
 }