private void BtnHoming_Click(object sender, EventArgs e) { GCodeHome home = new GCodeHome(); string gCode = home.ReturnToHome(SAFE_VERTICAL_HEIGHT_CM); txtLog.Text = gCode; SerialPortManager.ExecuteCommand(gCode); }
private void BtnSetHome_Click(object sender, EventArgs e) { GCodeHome home = new GCodeHome(); string gCode = home.SetHomePoint(); txtLog.Text = gCode; SerialPortManager.ExecuteCommand(gCode); }