Search found 1 match

by luisgonzalez
Fri Apr 23, 2021 7:23 am
Forum: Freematics Products
Topic: Configure new pid
Replies: 0
Views: 10351

Configure new pid

hi i bought an obd2 freematics one +

I am trying to set a new pid, the vehicle odometer


first I make the pid declaration in OBD.h in the library

#define PID_ODOMETER 0xA6

then I normalize the data in the file FreematicsOBD.cpp of the library

case PID_ODOMETER:
result = getSmallValue(data ...