logged data
Posted: Fri Mar 08, 2019 2:12 pm
Im assuming the following code in datalogger.ino,
PID_POLLING_INFO obdData[]= {
{PID_SPEED, 1},
{PID_RPM, 1},
{PID_THROTTLE, 1},
{PID_ENGINE_LOAD, 1},
{PID_FUEL_PRESSURE, 2},
{PID_TIMING_ADVANCE, 2},
{PID_COOLANT_TEMP, 3},
{PID_INTAKE_TEMP, 3},
};
is what controls what is output to DATA\n.CSV
0,23135
10D,0
10C,0
111,100
104,0
10E,5
20,28,14,-107
24,1570
If true how do I convert this data into actual decimal equivalents?
The PID formula for rpm is ((A*256)+B)/4.
PID_POLLING_INFO obdData[]= {
{PID_SPEED, 1},
{PID_RPM, 1},
{PID_THROTTLE, 1},
{PID_ENGINE_LOAD, 1},
{PID_FUEL_PRESSURE, 2},
{PID_TIMING_ADVANCE, 2},
{PID_COOLANT_TEMP, 3},
{PID_INTAKE_TEMP, 3},
};
is what controls what is output to DATA\n.CSV
0,23135
10D,0
10C,0
111,100
104,0
10E,5
20,28,14,-107
24,1570
If true how do I convert this data into actual decimal equivalents?
The PID formula for rpm is ((A*256)+B)/4.