View Full Version : Adding a motor to code
sirbleedsalot
27-01-2005, 22:53
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.
probizzle
27-01-2005, 23:02
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-2017, Jelsoft Enterprises Ltd.