example code using statis library for temperature measurement with LM35 and LM335

Dependencies:   mbed statis

Revision:
5:0b3569945178
Parent:
3:0e06300940cd
diff -r ffc39af07ade -r 0b3569945178 include/debug.h
--- a/include/debug.h	Thu Nov 22 15:57:35 2012 +0000
+++ b/include/debug.h	Sat Nov 24 13:36:58 2012 +0000
@@ -1,11 +1,11 @@
-// debug.h
-
-#ifdef DEBUG
-#  define DPRINTF( message ) printf message
-#  define DEXEC(       fct ) fct
-#  define DGETC(           ) if( tgetc() == ESC ) exit( 1 )
-#else
-#  define DPRINTF( message )
-#  define DEXEC(       fct )
-#  define DGETC(           )
-#endif
+// debug.h
+
+#ifdef DEBUG
+#  define DPRINTF( message ) pc.printf message
+#  define DEXEC(       fct ) fct
+#  define DGETC(           ) if( tgetc() == ESC ) exit( 1 )
+#else
+#  define DPRINTF( message )
+#  define DEXEC(       fct )
+#  define DGETC(           )
+#endif