summaryrefslogtreecommitdiff
path: root/obdlogger
diff options
context:
space:
mode:
authorStanley Huang <stanleyhuangyc@gmail.com>2014-01-11 20:50:02 +1100
committerStanley Huang <stanleyhuangyc@gmail.com>2014-01-11 20:50:02 +1100
commitc349dc3ff40420ea3f7a36018d4a3b0850c46dfe (patch)
tree89f3c62251ff9dde52f18ca3d14ddf0eb100b747 /obdlogger
parent4ed5dcff87afb2aa5fdb5a921207be74c8f934f6 (diff)
download2021-arduino-obd-c349dc3ff40420ea3f7a36018d4a3b0850c46dfe.tar.gz
2021-arduino-obd-c349dc3ff40420ea3f7a36018d4a3b0850c46dfe.tar.bz2
2021-arduino-obd-c349dc3ff40420ea3f7a36018d4a3b0850c46dfe.zip
Update OBD logger
Diffstat (limited to 'obdlogger')
-rw-r--r--obdlogger/datalogger.h8
-rw-r--r--obdlogger/obdlogger.ino4
2 files changed, 6 insertions, 6 deletions
diff --git a/obdlogger/datalogger.h b/obdlogger/datalogger.h
index 43cae04..2c4ebfe 100644
--- a/obdlogger/datalogger.h
+++ b/obdlogger/datalogger.h
@@ -248,7 +248,7 @@ public:
dataSize += sdfile.print(pid, HEX);
dataSize += sdfile.write(',');
dataSize += sdfile.print(value1, 6);
- dataSize += sdfile.write(' ');
+ dataSize += sdfile.write(',');
dataSize += sdfile.print(value2, 6);
dataSize += sdfile.write('\n');
m_lastDataTime = dataTime;
@@ -276,7 +276,7 @@ public:
dataSize += sdfile.print(pid, HEX);
dataSize += sdfile.write(',');
dataSize += sdfile.print(value1);
- dataSize += sdfile.write(' ');
+ dataSize += sdfile.write(',');
dataSize += sdfile.print(value2);
dataSize += sdfile.write('\n');
m_lastDataTime = dataTime;
@@ -304,9 +304,9 @@ public:
dataSize += sdfile.print(pid, HEX);
dataSize += sdfile.write(',');
dataSize += sdfile.print(value1);
- dataSize += sdfile.write(' ');
+ dataSize += sdfile.write(',');
dataSize += sdfile.print(value2);
- dataSize += sdfile.write(' ');
+ dataSize += sdfile.write(',');
dataSize += sdfile.print(value3);
dataSize += sdfile.write('\n');
m_lastDataTime = dataTime;
diff --git a/obdlogger/obdlogger.ino b/obdlogger/obdlogger.ino
index ef91a2d..ab57f16 100644
--- a/obdlogger/obdlogger.ino
+++ b/obdlogger/obdlogger.ino
@@ -599,8 +599,8 @@ private:
void showECUCap()
{
char buffer[24];
- byte pidlist[] = {PID_RPM, PID_SPEED, PID_THROTTLE, PID_ENGINE_LOAD, PID_ABS_ENGINE_LOAD, PID_MAF_FLOW, PID_INTAKE_MAP, PID_FUEL_LEVEL, PID_FUEL_PRESSURE, PID_COOLANT_TEMP, PID_INTAKE_TEMP, PID_AMBIENT_TEMP, PID_TIMING_ADVANCE, PID_BAROMETRIC};
- const char* namelist[] = {"RPM", "SPEED", "THROTTLE", "ENG.LOAD1", "ENG.LOAD2", "MAF", "MAP", "FUEL LV.", "FUEL PRE.", "COOLANT", "INTAKE","AMBIENT", "IGNITION", "BARO"};
+ byte pidlist[] = {PID_RPM, PID_SPEED, PID_THROTTLE, PID_ENGINE_LOAD, PID_CONTROL_MODULE_VOLTAGE, PID_MAF_FLOW, PID_INTAKE_MAP, PID_FUEL_LEVEL, PID_FUEL_PRESSURE, PID_COOLANT_TEMP, PID_INTAKE_TEMP, PID_AMBIENT_TEMP, PID_TIMING_ADVANCE, PID_BAROMETRIC};
+ const char* namelist[] = {"RPM", "SPEED", "THROTTLE", "ENG.LOAD", "CTRL VOLT", "MAF", "MAP", "FUEL LV.", "FUEL PRE.", "COOLANT", "INTAKE","AMBIENT", "IGNITION", "BARO"};
byte i = 0;
lcd.clear();
lcd.setFont(FONT_SIZE_SMALL);