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
VehicleSpeed.h@5:0b229ba8ede5, 2014-04-27 (annotated)
- Committer:
- chrta
- Date:
- Sun Apr 27 19:13:35 2014 +0000
- Revision:
- 5:0b229ba8ede5
- Child:
- 6:506b703a8acf
Split pids into files.
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
chrta | 5:0b229ba8ede5 | 1 | #ifndef VEHICLESPEED_H |
chrta | 5:0b229ba8ede5 | 2 | #define VEHICLESPEED_H |
chrta | 5:0b229ba8ede5 | 3 | |
chrta | 5:0b229ba8ede5 | 4 | #include "PidValue.h" |
chrta | 5:0b229ba8ede5 | 5 | |
chrta | 5:0b229ba8ede5 | 6 | class VehicleSpeed : public PidValue |
chrta | 5:0b229ba8ede5 | 7 | { |
chrta | 5:0b229ba8ede5 | 8 | public: |
chrta | 5:0b229ba8ede5 | 9 | VehicleSpeed(); |
chrta | 5:0b229ba8ede5 | 10 | virtual bool decode(const uint8_t* data, uint16_t length); |
chrta | 5:0b229ba8ede5 | 11 | }; |
chrta | 5:0b229ba8ede5 | 12 | |
chrta | 5:0b229ba8ede5 | 13 | #endif //VEHICLESPEED_H |