|
|
|
![]() |
|
|||||||
|
||||||||
|
|
Thread Tools | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
I am having trouble running a vex servo using a FRC controller. I assumed that the servos would be able to use a PWM signal and move accordingly. I was wrong. A snippet of the code that I was attempting to use would be the following. Simply I am asking for a bit of code that would fix my problem.
pwm01 = p1_y; --or-- if (p1_sw_trig == 1){ // Analog input from the Joystick pwm01 = 255;} else{ pwm01 = 127;} ( I know that I have unnecessary { }'s ) Anyone have something that would be helpful, any bit of code or wisdom would be greatly appreciated |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Servos? | PrincessJae | Motors | 15 | 26-01-2008 01:33 |
| Vex Servos | John Gutmann | Technical Discussion | 2 | 26-02-2007 17:31 |
| Vex servos | burkechrs1 | Motors | 3 | 08-01-2007 17:59 |
| VEX servos | JasonQ | FIRST Tech Challenge | 2 | 07-12-2005 15:14 |
| servos | savage | Technical Discussion | 5 | 09-04-2005 20:52 |