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: EngineRpm.cpp
- Revision:
- 6:506b703a8acf
- Parent:
- 5:0b229ba8ede5
--- a/EngineRpm.cpp Sun Apr 27 19:13:35 2014 +0000 +++ b/EngineRpm.cpp Thu May 01 09:29:29 2014 +0000 @@ -1,5 +1,7 @@ #include "EngineRpm.h" +const char EngineRpm::REQUEST_DATA[8] = {0x02, 0x01, 0x0C, 0, 0, 0, 0, 0}; + EngineRpm::EngineRpm() : PidValue("Engine RPM", "rpm") {