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

NSDL/nsdl_dbg.h

Committer:
andcor02
Date:
2015-07-16
Revision:
46:807e9cf63f4c
Parent:
26:4cac6b346e4f

File content as of revision 46:807e9cf63f4c:

#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, ...) printf("[NSDL_DEBUG: %s:%d]" x "\r\n", __FILE__, __LINE__, ##__VA_ARGS__);
#else
#define NSDL_DEBUG(x, ...)
#endif

#endif