mbed Sensor node for Instrumented Booth over ETH.

Dependencies:   EthernetInterface-1 MaxbotixDriver Presence HTU21D_TEMP_HUMID_SENSOR_SAMPLE Resources SHARPIR mbed-rtos mbed-src WDT_K64F nsdl_lib

Fork of Trenton_Switch_LPC1768_ETH by Demo Team

Embed: (wiki syntax)

« Back to documentation index

Show/hide line numbers nsdl_dbg.h Source File

nsdl_dbg.h

00001 #ifndef DEBUG_H
00002 #define DEBUG_H
00003 
00004 #include "nsdl_support.h"
00005 #include "mbed.h"
00006 
00007 //Debug is disabled by default
00008 #define DEBUG 1
00009 
00010 #if (DEBUG)
00011 //extern Serial pc;
00012 #define NSDL_DEBUG(x, ...) printf("[NSDL_DEBUG: %s:%d]" x "\r\n", __FILE__, __LINE__, ##__VA_ARGS__);
00013 #else
00014 #define NSDL_DEBUG(x, ...)
00015 #endif
00016 
00017 #endif