Beispiel #1
0
        // Set chute rotation
        private void btnRotation_Click(object sender, EventArgs e)
        {
            string tx = RXWINDOW.Text;

            I_comPort.Write("sd_" + tx);
            Reset();
        }
Beispiel #2
0
        private void goForward()
        {
            string tx = txtVel.Text;

            if (tx == string.Empty)
            {
                tx = "100";
            }
            I_comPort.Write("mf_" + tx);
        }
Beispiel #3
0
        private void goLeft()
        {
            string tx = txtVel.Text;

            if (tx == string.Empty)
            {
                tx = "100";
            }
            I_comPort.Write("ml_" + tx);
        }
Beispiel #4
0
        private void RunSnowBlower()
        {
            string tx = RXWINDOW.Text;

            if (tx == string.Empty)
            {
                tx = "100";
            }
            I_comPort.Write("sr_" + tx);
            Reset();
        }
Beispiel #5
0
 private void StopSnowBlower()
 {
     I_comPort.Write("ss_");
     Reset();
 }
Beispiel #6
0
 private void btnStopBrush_Click(object sender, EventArgs e)
 {
     I_comPort.Write("bs_");
     Reset();
 }
Beispiel #7
0
 // Reset snowblower
 private void btnReset_Click(object sender, EventArgs e)
 {
     Reset();
     I_comPort.Write("sR_");
 }
Beispiel #8
0
 private void FullStop()
 {
     I_comPort.Write("ms_");
     Reset();
 }