The ScanGauge displays FF data in Hexadecimal format and I cannot get the math right on the RPM reading.
ScanGauge display PID0C=056F.
A=05, which is 5 in decimal format.
B=6F, which is 96+15= 111 in decimal format.
The formula for decoding RPM is ((A*256)+B)/4. I got this formula from the OBDII PID Wikipedia page https://en.wikipedia.org/wiki/OBD-II_PIDs
5*256=1280. 1280+111= 1391. 1391/4 = 348 (rounded off to the nearest integer). This 348 is half of the actual RPM reading, 695. Both my Actron 3130 and the Tech2 do all the math and display the RPM as 695.
So, why am I off by a factor of 2?
ScanGauge display PID0C=056F.
A=05, which is 5 in decimal format.
B=6F, which is 96+15= 111 in decimal format.
The formula for decoding RPM is ((A*256)+B)/4. I got this formula from the OBDII PID Wikipedia page https://en.wikipedia.org/wiki/OBD-II_PIDs
5*256=1280. 1280+111= 1391. 1391/4 = 348 (rounded off to the nearest integer). This 348 is half of the actual RPM reading, 695. Both my Actron 3130 and the Tech2 do all the math and display the RPM as 695.
So, why am I off by a factor of 2?