adding resources firmware and 1/0/8
Dependencies: Beep C12832_lcd EthernetInterface EthernetNetIf HTTPClient LM75B MMA7660 mbed-rtos mbed nsdl_lib
Fork of LWM2M_NanoService_Ethernet by
dbg.h
- Committer:
- pnysten
- Date:
- 2016-02-17
- Revision:
- 23:cf1770966071
- Parent:
- 21:978281bfb26e
File content as of revision 23:cf1770966071:
#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