Page 2 of 2

Re: Possible reason for ONE+ (H) to stop sending data

Posted: Wed Dec 08, 2021 4:48 am
by Haskar
Hey @SamyAbi have you solved the problem?
I experienced something similar and I think fix from github fixed it:

Code: Select all

#if ENABLE_OBD
if (sys.devType > 12) {
batteryVoltage = (float)(analogRead(A0) * 12 * 370) / 4095;
} else if (state.check(STATE_OBD_READY)) {
batteryVoltage = obd.getVoltage() * 100;
}
if (batteryVoltage) {
buffer->add(PID_BATTERY_VOLTAGE, (int)batteryVoltage);
}
#endif
kudos to rosenvladimirov

Re: Possible reason for ONE+ (H) to stop sending data

Posted: Thu Dec 09, 2021 8:25 pm
by stanley
Thanks. Will include it.