Chief Delphi

Chief Delphi (http://www.chiefdelphi.com/forums/index.php)
-   Programming (http://www.chiefdelphi.com/forums/forumdisplay.php?f=51)
-   -   Adding a motor to code (http://www.chiefdelphi.com/forums/showthread.php?t=33516)

sirbleedsalot 27-01-2005 22:53

Adding a motor to code
 
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

Re: Adding a motor to code
 
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.


All times are GMT -5. The time now is 02:50.

Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi