From b849e90fb7212d4499e05546934e23f582af346d Mon Sep 17 00:00:00 2001 From: Stanley Huang Date: Sat, 28 Jun 2014 13:52:24 +1000 Subject: Define more OBD-II PIDs --- libraries/OBD/OBD.cpp | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'libraries/OBD/OBD.cpp') diff --git a/libraries/OBD/OBD.cpp b/libraries/OBD/OBD.cpp index 2728a09..85e3ed0 100644 --- a/libraries/OBD/OBD.cpp +++ b/libraries/OBD/OBD.cpp @@ -168,6 +168,12 @@ int COBD::normalizeData(byte pid, char* data) case PID_FUEL_INJECTION_TIMING: result = ((int32_t)getLargeValue(data) - 26880) / 128; break; + case PID_CATALYST_TEMP_B1S1: + case PID_CATALYST_TEMP_B2S1: + case PID_CATALYST_TEMP_B1S2: + case PID_CATALYST_TEMP_B2S2: + result = getLargeValue(data) / 10 - 40; + break; default: result = getSmallValue(data); } -- cgit v1.2.3