Nespresso coffee demo working on the Arch Pro
Dependencies: EthernetInterface mbed-rtos mbed nsdl rgb_sensor_buffer
Fork of mbed_nsdl by
dbg.h
- Committer:
- bjblazkowicz
- Date:
- 2014-10-29
- Revision:
- 9:9d5b0c43579b
- Parent:
- 0:345864e9ee85
File content as of revision 9:9d5b0c43579b:
#ifndef DEBUG_H #define DEBUG_H #include "nsdl_support.h" #include "mbed.h" //Debug is disabled by default #define DEBUG 1 #if (DEBUG) extern MODSERIAL console; #define NSDL_DEBUG(x, ...) console.printf("[NSDL_DEBUG: %s:%d]" x "\r\n", __FILE__, __LINE__, ##__VA_ARGS__); #else #define NSDL_DEBUG(x, ...) #endif #endif