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

Dependencies:   mbed statis

Committer:
greletj
Date:
Thu Nov 22 14:47:20 2012 +0000
Revision:
3:0e06300940cd
Child:
5:0b3569945178
last version added and compile with outils but works with filter

Who changed what in which revision?

UserRevisionLine numberNew contents of line
greletj 3:0e06300940cd 1 // debug.h
greletj 3:0e06300940cd 2
greletj 3:0e06300940cd 3 #ifdef DEBUG
greletj 3:0e06300940cd 4 # define DPRINTF( message ) printf message
greletj 3:0e06300940cd 5 # define DEXEC( fct ) fct
greletj 3:0e06300940cd 6 # define DGETC( ) if( tgetc() == ESC ) exit( 1 )
greletj 3:0e06300940cd 7 #else
greletj 3:0e06300940cd 8 # define DPRINTF( message )
greletj 3:0e06300940cd 9 # define DEXEC( fct )
greletj 3:0e06300940cd 10 # define DGETC( )
greletj 3:0e06300940cd 11 #endif