Hi
I’m using the following sub with a 12 CH Maestro to shut down a servo to stop a servo retract from hunting and drawing current. The mechanics it is driving requires it to pull against a stop and lock the mechs. The only way is to over travel the servo slightly which causes it to bind. If I use the 0 x servo command to shut off the servo it works fine but when re activated with say 8000 x servo it ignores the speed and acceleration commands
Example coding below. This is not the actual coding but an example to show where I have the off sub routine . What I am trying to acheive is the acceleration and speed parameters to still have effect after the 0 4 servo has been actioned
10 4 acceleration
40 4 speed
sub switch example
if pos x
up example
else
down example
return
sub up example
8856 4 servo
4000 delay
off
return
sub down example
4080 4 servo
return
sub off
0 4 servo
return
Hope this makes sense
–
Mark