Small project to display some OBD values from the Toyota GT86/ Subaru BRZ/ Scion FRS on an OLED display.
Dependencies: Adafruit_GFX MODSERIAL mbed-rtos mbed
Diff: DebugPrint.h
- Revision:
- 5:0b229ba8ede5
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/DebugPrint.h Sun Apr 27 19:13:35 2014 +0000 @@ -0,0 +1,13 @@ +#ifndef DEBUGPRINT_H +#define DEBUGPRINT_H + +#include "MODSERIAL.h" +extern MODSERIAL pc; + +#ifdef ACTIVATE_DEBUG_OUTPUT +#define DEBUG_PRINT(format, ...) pc.printf(format, ##__VA_ARGS__) +#else +#define DEBUG_PRINT(format, ...) +#endif + +#endif //DEBUGPRINT_H \ No newline at end of file