To read a tipping spoon rain guage
Dependencies: DHT11 GPS MTS-Serial PulseCounter mbed-rtos mbed
Fork of mDot_LoRa_Connect_Example by
Diff: debug.h
- Revision:
- 5:72944fa033f9
diff -r 36e214ebfa56 -r 72944fa033f9 debug.h --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/debug.h Fri Jun 10 00:07:31 2016 +0000 @@ -0,0 +1,8 @@ +#include "mbed.h" +#include <stdio.h> + +#if 1 + #define DEBUG_PRINTF(fmt, args...) printf("%s:%d: "fmt, __FUNCTION__, __LINE__, ## args) +#else + #define DEBUG_PRINTF(fmt, args...) +#endif