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

Committer:
chrta
Date:
Sun May 11 09:05:37 2014 +0000
Revision:
7:a19b63c0a0fa
Parent:
3:eb807d330292
Changed Adafruit_GFX to my own fork.

Who changed what in which revision?

UserRevisionLine numberNew contents of line
chrta 3:eb807d330292 1 #ifndef PID_DECODER_H
chrta 3:eb807d330292 2 #define PID_DECODER_H
chrta 3:eb807d330292 3
chrta 3:eb807d330292 4 #include "mbed.h"
chrta 3:eb807d330292 5
chrta 3:eb807d330292 6 class PidDecoder
chrta 3:eb807d330292 7 {
chrta 3:eb807d330292 8 public:
chrta 3:eb807d330292 9
chrta 3:eb807d330292 10 /**
chrta 3:eb807d330292 11 * Decode the given message
chrta 3:eb807d330292 12 *
chrta 3:eb807d330292 13 * Currently the packet is only printed out.
chrta 3:eb807d330292 14 * Later a user callbeck must be executed from here.
chrta 3:eb807d330292 15 *
chrta 3:eb807d330292 16 * \param[in] data The content of the Iso Tp message.
chrta 3:eb807d330292 17 * \param[in] length The amount of bytes in data.
chrta 3:eb807d330292 18 */
chrta 3:eb807d330292 19 void decode(const uint8_t* data, uint16_t length);
chrta 3:eb807d330292 20 };
chrta 3:eb807d330292 21 #endif //PID_DECODER_H