Re: Possible reason for ONE+ (H) to stop sending data
Posted: Wed Dec 08, 2021 4:48 am
Hey @SamyAbi have you solved the problem?
I experienced something similar and I think fix from github fixed it:
kudos to rosenvladimirov
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