![](/media/cache/profiles/9bd5ee6fe55aaeb673025dbcb8f939c1.50x50_q85.jpg)
Sensinode NSDL demo with WiFi interface
Dependencies: Beep C12832_lcd LM75B MMA7660 WiflyInterface mbed-rtos mbed nsdl_lib
Fork of NSDL_HelloWorld by
dbg.h
- Committer:
- MACRUM
- Date:
- 2014-05-12
- Revision:
- 8:f5f58eb0af34
- Parent:
- 2:7e489126fe7a
File content as of revision 8:f5f58eb0af34:
#ifndef DEBUG_H #define DEBUG_H #include "nsdl_support.h" #include "mbed.h" //Debug is disabled by default #define DEBUG 1 #if (DEBUG) extern Serial pc; #define NSDL_DEBUG(x, ...) pc.printf("[NSDL_DEBUG: %s:%d]" x "\r\n", __FILE__, __LINE__, ##__VA_ARGS__); #else #define NSDL_DEBUG(x, ...) #endif #endif