Esempio n. 1
0
void calibrateInternT()
{
    calibrationPoint = 0;
    AnalogInputs::powerOn(false);
    runCalibrationMenu(editInternTData, internTName, internTName, true);
    AnalogInputs::powerOff();
}
Esempio n. 2
0
void calibrateExternT()
{
    calibrationPoint = 0;
    AnalogInputs::powerOn(false);
    runCalibrationMenu(editExternTData, externTName, externTName);
    AnalogInputs::powerOff();
}
Esempio n. 3
0
void calibrateVoltage()
{
    calibrationPoint = 1;
    AnalogInputs::powerOn();
    if(testVout(true)) {
        runCalibrationMenu(editVoltageData, voltageName, voltageName2);
    }
    AnalogInputs::powerOff();
}
Esempio n. 4
0
void calibrateVoltage()
{
    calibrationPoint = 1;
    Program::dischargeOutputCapacitor();
    AnalogInputs::powerOn();
    if(testVout(true)) {
        runCalibrationMenu(editVoltageData, voltageName, voltageName2);
    }
    AnalogInputs::powerOff();
}
Esempio n. 5
0
void expertCalibrateVoltage()
{
    calibrationPoint = 1;
    AnalogInputs::powerOn(false);
    PolarityCheck::checkReversedPolarity_ = false;
    runCalibrationMenu(editExpertVoltageData, expertVoltageName, expertVoltageName);
    PolarityCheck::checkReversedPolarity_ = true;
    AnalogInputs::powerOff();

}
Esempio n. 6
0
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();
}