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

DebugPrint.h

Committer:
chrta
Date:
2014-05-11
Revision:
7:a19b63c0a0fa
Parent:
5:0b229ba8ede5

File content as of revision 7:a19b63c0a0fa:

#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