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
EngineRpm.h@6:506b703a8acf, 2014-05-01 (annotated)
- Committer:
- chrta
- Date:
- Thu May 01 09:29:29 2014 +0000
- Revision:
- 6:506b703a8acf
- Parent:
- 5:0b229ba8ede5
Changes for display.
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
chrta | 5:0b229ba8ede5 | 1 | #ifndef ENGINERPM_H |
chrta | 5:0b229ba8ede5 | 2 | #define ENGINERPM_H |
chrta | 5:0b229ba8ede5 | 3 | |
chrta | 5:0b229ba8ede5 | 4 | #include "PidValue.h" |
chrta | 5:0b229ba8ede5 | 5 | |
chrta | 5:0b229ba8ede5 | 6 | class EngineRpm : public PidValue |
chrta | 5:0b229ba8ede5 | 7 | { |
chrta | 5:0b229ba8ede5 | 8 | public: |
chrta | 5:0b229ba8ede5 | 9 | EngineRpm(); |
chrta | 5:0b229ba8ede5 | 10 | virtual bool decode(const uint8_t* data, uint16_t length); |
chrta | 6:506b703a8acf | 11 | |
chrta | 6:506b703a8acf | 12 | static const char REQUEST_DATA[8]; |
chrta | 5:0b229ba8ede5 | 13 | }; |
chrta | 5:0b229ba8ede5 | 14 | |
chrta | 5:0b229ba8ede5 | 15 | #endif //ENGINERPM_H |