3000 rpm arduino sketch

Discussing about enhancement of our Arduino libraries
ensernet
Posts: 1
Joined: Wed Feb 28, 2018 2:46 am

3000 rpm arduino sketch

Postby ensernet » Wed Feb 28, 2018 2:59 am

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

Return to “Freematics Arduino Libraries”

Who is online

Users browsing this forum: No registered users and 1 guest