示例#1
0
 private void Update_degree()
 {
     SerialComm.Send_cmd(CMD + Convert.ToString(servo_deg));
 }
示例#2
0
 public void Backward()
 {
     SerialComm.Send_cmd(Command.BACK_CMD);
 }
示例#3
0
 private void Update_PWM()
 {
     SerialComm.Send_cmd(this.SPD_CMD + Convert.ToString(PWM));
 }
示例#4
0
 public void Forward()
 {
     SerialComm.Send_cmd(Command.FORWARD_CMD);
 }
示例#5
0
 public void TurnRight()
 {
     SerialComm.Send_cmd(Command.RIGHT_CMD);
 }
示例#6
0
 public void TurnLeft()
 {
     SerialComm.Send_cmd(Command.LEFT_CMD);
 }
示例#7
0
 public void Soft_STOP()
 {
     SerialComm.Send_cmd(Command.SOFT_STOP_CMD);
 }
示例#8
0
 public void Stop()
 {
     SerialComm.Send_cmd(Command.STOP_CMD);
 }