source:
rtos_arduino/trunk/arduino_lib/libraries/Firmata/utility/firmataDebug.h@
376
Last change on this file since 376 was 224, checked in by , 8 years ago | |
---|---|
File size: 351 bytes |
Line | |
---|---|
1 | #ifndef FIRMATA_DEBUG_H |
2 | #define FIRMATA_DEBUG_H |
3 | |
4 | #ifdef SERIAL_DEBUG |
5 | #define DEBUG_BEGIN(baud) Serial.begin(baud); while(!Serial) {;} |
6 | #define DEBUG_PRINTLN(x) Serial.println (x) |
7 | #define DEBUG_PRINT(x) Serial.print (x) |
8 | #else |
9 | #define DEBUG_BEGIN(baud) |
10 | #define DEBUG_PRINTLN(x) |
11 | #define DEBUG_PRINT(x) |
12 | #endif |
13 | |
14 | #endif /* FIRMATA_DEBUG_H */ |
Note:
See TracBrowser
for help on using the repository browser.