private void buttonLFDown_Click(object sender, EventArgs e) { textBox.Text = ""; short steps = HotwireControl.Invert(trackBarStepsMotorB.Value, Configuration.ReverseB, true); Port.MoveMotor(2, steps); }
private void buttonRLUp_Click(object sender, EventArgs e) { textBox.Text = ""; short steps = HotwireControl.Invert(trackBarStepsMotorD.Value, Configuration.ReverseD, false); Port.MoveMotor(4, 1); }
private void buttonLBDown_Click(object sender, EventArgs e) { textBox.Text = ""; short steps = HotwireControl.Invert(trackBarStepsMotorA.Value, Configuration.ReverseA, true); if (checkBoxMaster.Checked == false) { Port.MoveMotor(1, steps); } else { Port.MoveMotors(steps, steps, steps, steps); } PortReader(); }