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

Embed: (wiki syntax)

« Back to documentation index

Show/hide line numbers DebugPrint.h Source File

DebugPrint.h

00001 #ifndef DEBUGPRINT_H
00002 #define DEBUGPRINT_H
00003 
00004 #include "MODSERIAL.h"
00005 extern MODSERIAL pc;
00006 
00007 #ifdef ACTIVATE_DEBUG_OUTPUT
00008 #define DEBUG_PRINT(format, ...) pc.printf(format, ##__VA_ARGS__) 
00009 #else
00010 #define DEBUG_PRINT(format, ...)
00011 #endif
00012 
00013 #endif //DEBUGPRINT_H