![](/media/cache/profiles/0b836a42ec00875cf640458aa93411cb.jpg.50x50_q85.jpg)
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:
- bridadan
- Date:
- 2015-03-20
- Revision:
- 12:ad05fe84b4ff
- Parent:
- 0:345864e9ee85
- Child:
- 9:9d5b0c43579b
File content as of revision 12:ad05fe84b4ff:
#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