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: PidValue.h
- Revision:
- 6:506b703a8acf
- Parent:
- 5:0b229ba8ede5
--- a/PidValue.h Sun Apr 27 19:13:35 2014 +0000 +++ b/PidValue.h Thu May 01 09:29:29 2014 +0000 @@ -10,6 +10,8 @@ virtual bool decode(const uint8_t* data, uint16_t length) = 0; void print(); const char* getName(); + const char* getUnit(); + unsigned int getValue(); protected: unsigned int m_value; const char* m_unit;