|
repurposing servos
we were going use a pneumatic actuator to control ball flow but that got axed when we cam in over weight. it was replaced by one of the servos.
i added :
----------
pwm09 = p3_x
printf(" %d || %d\r", p3_x, pwm09) // edited post "p3_y" to "p3_x"
----------
to my code hoping that i could just plug the servo into pwm09 and have it track back and forth and then rewrite the code later to include endpoints.
the idea with the printf was to let me find reasonable values for the ends.
the problem is that when i move the 3rd joystick i get no motion out of the servo
it dose however move a tiny bit when the robot is first turned on.
if i missed anything in my code or wiring I'd be grateful if some one could point it out.
Last edited by Spindash54 : 20-02-2006 at 12:55.
|