예제 #1
0
        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);
        }
예제 #2
0
        private void BtnSetHome_Click(object sender, EventArgs e)
        {
            GCodeHome home  = new GCodeHome();
            string    gCode = home.SetHomePoint();

            txtLog.Text = gCode;

            SerialPortManager.ExecuteCommand(gCode);
        }