From eae0a621556514d01f6b808302ed2cfe320c56be Mon Sep 17 00:00:00 2001
From: klueska This lesson demonstrates how to use the printf
library located in
- tos/lib/printf to debug TinyOS applications by printing messages over the serial
- port.tos/lib/printf
to debug TinyOS applications by printing messages over
+ the serial port.
@@ -342,6 +342,11 @@ event void PrintfFlush.flushDone(error_t error) { level application:
CFLAGS += -I$(TOSDIR)/lib/printf+
"printf.h"
header file in
+ every component in which you would like to call the printf()
+ command. Failure
+ to do so will result in obscure error messages making it difficult to identify
+ the problem.-- 2.39.2