_R-STS01mightyZAP Servo Tester Shield Manual_ENG_V1.2 19D5
IR-STS01 Servo Tester Shield Manual V.1.1
25
6.7. Example - Present Position
Example to check current position of servo motor using presentPosition() command.
Select [Example] - [MightyZap] - [UNO]or[LEO]–[ServoTester_ presentPosition]
Tester.Mightyzap.presentPosition(int ID_NUM)/Parameter Read
• Function : Servo motor position setting
• Parameter
- ID_NUM : Servo motor ID
Tester.Mightyzap.moving(int ID_NUM)/Parameter Read
• Function : Servo motor Operation stutus read.
• Parameter
- ID_NUM : Servo motor ID
After changing position using goalPosition() command, check
real-time present position by presentPosition() command.
*Moving() : to check operation status (no moving or moving)
(1 : Moving, 0: Moving Stop)