void calibrateInternT() { calibrationPoint = 0; AnalogInputs::powerOn(false); runCalibrationMenu(editInternTData, internTName, internTName, true); AnalogInputs::powerOff(); }
void calibrateExternT() { calibrationPoint = 0; AnalogInputs::powerOn(false); runCalibrationMenu(editExternTData, externTName, externTName); AnalogInputs::powerOff(); }
void calibrateVoltage() { calibrationPoint = 1; AnalogInputs::powerOn(); if(testVout(true)) { runCalibrationMenu(editVoltageData, voltageName, voltageName2); } AnalogInputs::powerOff(); }
void calibrateVoltage() { calibrationPoint = 1; Program::dischargeOutputCapacitor(); AnalogInputs::powerOn(); if(testVout(true)) { runCalibrationMenu(editVoltageData, voltageName, voltageName2); } AnalogInputs::powerOff(); }
void expertCalibrateVoltage() { calibrationPoint = 1; AnalogInputs::powerOn(false); PolarityCheck::checkReversedPolarity_ = false; runCalibrationMenu(editExpertVoltageData, expertVoltageName, expertVoltageName); PolarityCheck::checkReversedPolarity_ = true; AnalogInputs::powerOff(); }
void calibrateExternT() { calibrationPoint = 0; SerialLog::powerOff(); //TODO: rewrite ProgramData::battery.enable_externT = 1; AnalogInputs::powerOn(false); runCalibrationMenu(editExternTData, externTName, externTName, true); AnalogInputs::powerOff(); SerialLog::powerOn(); }