|
|
|
| I love you like a good game hint. |
![]() |
|
|||||||
|
||||||||
![]() |
|
|
Thread Tools | Rate Thread | Display Modes |
|
|
|
#1
|
||||
|
||||
|
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.
|
|
#2
|
|||||
|
|||||
|
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. |
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Example gyro code released. | Kevin Watson | Programming | 60 | 17-03-2005 18:32 |
| Kevin Watson's Kick-off Demo Code! | Mr. Lim | Programming | 27 | 22-01-2005 03:38 |
| Sourceforge for Code Repository and other stuff | SilverStar | Programming | 9 | 15-01-2005 21:16 |
| A Centralized Code Dump? | colt527 | Programming | 29 | 01-01-2005 16:07 |
| heres the code. y this not working | omega | Programming | 16 | 31-03-2004 15:18 |