vicpopo wrote:Hi Prodigy ,
Here is the answer for the request about the obd2 pid available on xsim .
OBD2 does only output:
//05 coolant temperature
//0C RPM *4
//0D Speed in kmh
//E0 GEAR with 1 as offset (not elm327 complaint)
//E1 Position (not elm327 complaint)
//E2 Current Lap (not elm327 complaint)
//E3 Best laptime (not elm327 complaint)
Regards
How to get BestLaptime?
my code as follows,but always get -1 return back.What's wrong?
int GetOBD2BestLapTimeValue()
{
Serial.write('0');
Serial.write('1');
Serial.write('e');
Serial.write('3');
Serial.write('\r');
return ReceiveValueWithTimeout('4','E','3',10);
}