_R-STS01mightyZAP Servo Tester Shield Manual_ENG_V1.2 19D5
IR-STS01 Servo Tester Shield Manual V.1.1
24
6.6. Example - Goal Position
Example to control servo motor position using goalPosition() command.
Select [Example] - [MightyZap] - [UNO]or[LEO]–[ServoTester_ goalPosition]
Tester.Mightyzap.goalPosition(int ID_NUM, int postion)/Parameter Write
• Function : Servo motor goal position setting
• Parameter
- ID_NUM : Servo motor ID
- Position : Goal position value between 0~4095 (defualt : 0~4095)
By 1sec interval, control position between 0 ~ 4095.
Change position value in goalPosition(ID_NUM,0) function
and check position difference.