### Adding and modifying PIDS.

Posted:

**Tue Jan 20, 2015 6:11 pm**Hi,

Thanks for the great product! I like it alot.

I'm having some trouble understanding the library and how the calculation of PIDs work. Could someone please give some insight on this? I'm using the UART version.

Eg 1. Wikipedia states that the calculation formula for Intake air temperature is A-40.

In the library the were Intake air is calculated I see no formula calculation:

case PID_INTAKE_TEMP:

Eg 2. Wikipedia states that the calculation formula for Fuel pressure A*3

In the library the were Fuel pressure is calculated I see this calculation:

case PID_FUEL_PRESSURE:

result = getSmallValue(data) * 3;

break;

These are just a few examples that I took the time on looking upon.

Thanks!

-aslak

Thanks for the great product! I like it alot.

I'm having some trouble understanding the library and how the calculation of PIDs work. Could someone please give some insight on this? I'm using the UART version.

Eg 1. Wikipedia states that the calculation formula for Intake air temperature is A-40.

In the library the were Intake air is calculated I see no formula calculation:

case PID_INTAKE_TEMP:

Eg 2. Wikipedia states that the calculation formula for Fuel pressure A*3

In the library the were Fuel pressure is calculated I see this calculation:

case PID_FUEL_PRESSURE:

result = getSmallValue(data) * 3;

break;

These are just a few examples that I took the time on looking upon.

Thanks!

-aslak