Page 1 of 1

3000 rpm arduino sketch

Posted: Wed Feb 28, 2018 2:59 am
by ensernet
The supplied 3000 rpm sketch did not compile there was a problem with the line if (obd.read(PID_RPM, value))
In looking at other sketches I think it should be if (obd.readPID(PID_RPM, value)) when I changed to this it compiled

I tried this on a 2005 chevy duramax and got no results so I am not sure if this older truck does not support the right
vehicle protocol or the line of code I changed was the problem. I believe I have my wiring correct with white going to the scl pin green going to the sda pin red to 5V and green to gnd.

any suggestions

Re: 3000 rpm arduino sketch

Posted: Thu Mar 24, 2022 4:03 am
by nemaR
Which file did you make amendments to?