private void checkHeights_Click(object sender, EventArgs e) { if (EEPROMFunctions.tempEEPROMSet == false) { EEPROMFunctions.readEEPROM(); } GCode.checkHeights = true; EEPROMFunctions.EEPROMReadOnly = false; Calibration.calibrationState = true; Calibration.calibrationSelection = 0; HeightFunctions.checkHeightsOnly = true; HeightFunctions.heightsSet = false; }
private void readEEPROM_Click(object sender, EventArgs e) { if (Connection._serialPort.IsOpen) { EEPROMFunctions.tempEEPROMSet = false; EEPROMFunctions.readEEPROM(); EEPROMFunctions.EEPROMReadOnly = true; HeightFunctions.checkHeightsOnly = false; EEPROMFunctions.EEPROMReadCount = 0; } else { UserInterface.logConsole("Not Connected"); } }
private void calibrateButton_Click(object sender, EventArgs e) { if (Connection._serialPort.IsOpen) { GCode.checkHeights = true; EEPROMFunctions.readEEPROM(); EEPROMFunctions.EEPROMReadOnly = false; Calibration.calibrationState = true; Calibration.calibrationSelection = 0; HeightFunctions.checkHeightsOnly = false; } else { UserInterface.logConsole("Not connected"); } }