_R-STS01mightyZAP Servo Tester Shield Manual_ENG_V1.2 19D5
IR-STS01 Servo Tester Shield Manual V.1.1
31
6.13. Moving Speed
Example to set servo motor speed using MovingSpeed() command.
Select [Example] - [MightyZap] - [UNO/LEO]–[ServoTester_ MovingSpeed]
Tester.Mightyzap.movingSpeed(int ID_NUM)/Parameter Read
• Function : Servo motor moving speed read
• Parameter
- ID_NUM : Servo motor ID
Tester.Mightyzap.movingSpeed(int ID_NUM,int speed)/Parameter Write
• Function : Servo motor moving speed value setting
• Parameter
- ID_NUM : Servo motor ID
- Speed: Setting servo speed between 0 ~ 1023 (0:Max speed, 1~1023 : the higher value, the faster speed)
1.movingSpeed()
- Set moving speed.
- 0 : Max speed
- 1~1023 : the higer value, the faster speed.
- To be initialized to 0 when Power is applied again.
2.Check operation status by moving() function.
(1 : moving, 0: not moving)
3. Change servo motor speed by serial communication and check its
motion.