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

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

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

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

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