Nespresso coffee demo working on the Arch Pro

Dependencies:   EthernetInterface mbed-rtos mbed nsdl rgb_sensor_buffer

Fork of mbed_nsdl by Nespresso RGB Sensor

Committer:
bridadan
Date:
Fri Mar 20 16:11:15 2015 +0000
Revision:
12:ad05fe84b4ff
Parent:
0:345864e9ee85
Child:
9:9d5b0c43579b
Working on Arch Pro

Who changed what in which revision?

UserRevisionLine numberNew contents of line
GeofferyOmlette 0:345864e9ee85 1 #ifndef DEBUG_H
GeofferyOmlette 0:345864e9ee85 2 #define DEBUG_H
GeofferyOmlette 0:345864e9ee85 3
GeofferyOmlette 0:345864e9ee85 4 #include "nsdl_support.h"
GeofferyOmlette 0:345864e9ee85 5 #include "mbed.h"
GeofferyOmlette 0:345864e9ee85 6
GeofferyOmlette 0:345864e9ee85 7 //Debug is disabled by default
GeofferyOmlette 0:345864e9ee85 8 #define DEBUG 1
GeofferyOmlette 0:345864e9ee85 9
GeofferyOmlette 0:345864e9ee85 10 #if (DEBUG)
GeofferyOmlette 0:345864e9ee85 11 extern Serial pc;
GeofferyOmlette 0:345864e9ee85 12 #define NSDL_DEBUG(x, ...) pc.printf("[NSDL_DEBUG: %s:%d]" x "\r\n", __FILE__, __LINE__, ##__VA_ARGS__);
GeofferyOmlette 0:345864e9ee85 13 #else
GeofferyOmlette 0:345864e9ee85 14 #define NSDL_DEBUG(x, ...)
GeofferyOmlette 0:345864e9ee85 15 #endif
GeofferyOmlette 0:345864e9ee85 16
GeofferyOmlette 0:345864e9ee85 17 #endif