3000 rpm arduino sketch

Discussion about software developed by Freematics, including Freematics Builder and Freematics Emulator GUI
Post Reply
Posts: 1
Joined: Wed Feb 28, 2018 2:46 am

3000 rpm arduino sketch

Post 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
Posts: 3
Joined: Tue Mar 22, 2022 12:32 pm

Re: 3000 rpm arduino sketch

Post by nemaR »

Which file did you make amendments to?
Post Reply