Help with Servo32v7 - Stop/Pause Servo
ckbw33
Posts: 5
I hope this is a quick/easy question!
I'm using Servo32v7, and I'd like to let the servo "relax". I don't care about it's subsequent position, I'd just like to cut the power to the servo after I've finished actuating it.
I could not find a "stop" function in the object, but this seems like a straighforward task (i.e. stop pulses on that pin). The assembly portion is a little hairy for my Propeller knowlege depth, so can anyone suggest code for a "stop" PUB?
I'm using Servo32v7, and I'd like to let the servo "relax". I don't care about it's subsequent position, I'd just like to cut the power to the servo after I've finished actuating it.
I could not find a "stop" function in the object, but this seems like a straighforward task (i.e. stop pulses on that pin). The assembly portion is a little hairy for my Propeller knowlege depth, so can anyone suggest code for a "stop" PUB?
Comments
It seems like it would be a good idea if it at least returned the cog number so the parent object could stop the cog if needed.
I suppose anyone wanting to top and retart a cog would probably know how to do this themseleves, but it just seems odd there isn't any information returned from the Start method.
Changing:
To:
The added "result :=" doesn't even increase the program size (which I think is kind of strange).