_R-STS01mightyZAP Servo Tester Shield Manual_ENG_V1.2 19D5

IR-
STS01 Servo Tester Shield Manual V.1.1
5.7.Example -
Stroke Limit
Select [IRROBOT_ServoTesterShield] –
[UNO
Control Max / Min stroke limit by Rotary volumes#3 and 4.
STS01 Servo Tester Shield Manual V.1.1
15
Stroke Limit
(PWM Control)
[UNO
] or [LEO] –[ServoTester_StrokeLimit]
Control Max / Min stroke limit by Rotary volumes#3 and 4.
Read each VR value by “Read()”
function to set
Max/Min stroke limit. Read value range is between
0~1023.
Compare stroke limit value with goal position value. If
goal position value is
out of stroke limit, goal position
will be replaced with stroke limit.
Source to set Max/Min stroke limit by reading two VR
values.
function to set
Max/Min stroke limit. Read value range is between
Compare stroke limit value with goal position value. If
out of stroke limit, goal position
Source to set Max/Min stroke limit by reading two VR