View Full Version : Adding a motor to code
01-27-2005, 10:53 PM
I need to add a motor to the default code and I have no clue what I am supposed to do. So what code do I need to add and where do I need to add it to in order to get a motor for an arm to work. I am using the version of the default code without the camera if that makes a difference. Thanks in advance I could not make it through programming without you guys.
01-27-2005, 11:02 PM
If you wire the motors to pwm03 on the rc, you should be able to get the motor working with the (y) input of a joystick on port 3.
In user_routines.c, in Default_Routine(), you can see what pwm output is mapped to which input port. You can change these there too.
Hope that helped.
vBulletin® v3.6.4, Copyright ©2000-2013, Jelsoft Enterprises Ltd.