|
|
|
![]() |
|
|||||||
|
||||||||
|
|
Thread Tools | Rate Thread | Display Modes |
|
#13
|
|||
|
|||
|
Re: SetPWM and our IR controls
Make sure you put your OperatorControl function inside the main function.
And I don't think you have to power down your robot, it should automaticly work well. Make sure you are not programming in competition mode (when it's divided to 3 functions). 'Cause that way I don't think it can work (I think it only works when you are in a competition [when the competition port on the OI is connected]). Just to the following: 1) Open a regular new EasyC pro project. 2) Make your OperatorControl function (in the user functions). 3) Drag and drop the OperatorControl function you just made into a while(1) loop in the main function. 4) Power up the robot. 5) Hold down "prog" until "Program Status" LED turns orange. 6) Press Build and Download in EasyC pro. 7) Now it should work ![]() I suggest you first build and download a simple program (like putting your motor in half speed) and check if it works well. Again, check if the PWM cables are connected to the victor that is connected to the motor you want to activate. Hope it helped. Team 2217 Last edited by itsme : 12-01-2008 at 15:36. |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| help us program our controls | dude_brd | Programming | 1 | 10-02-2007 12:02 |
| need help on programing our controls | dude_brd | Programming | 1 | 07-02-2007 18:42 |
| FRC: Reset and Program Controls | yanksrock777 | General Forum | 4 | 24-01-2007 22:37 |
| Push Button and Switch Suppliers for OI controls | Goldberg204 | Control System | 8 | 11-01-2007 15:27 |
| pic: 383`s controls and driver | Manoel | Robot Showcase | 13 | 03-03-2005 00:57 |