View Single Post
  #2   Spotlight this post!  
Unread 12-01-2008, 18:55
rhoads2234's Avatar
rhoads2234 rhoads2234 is offline
Registered User
AKA: Erin
FRC #2234
Team Role: Programmer
 
Join Date: Jan 2007
Rookie Year: 2007
Location: PA
Posts: 80
rhoads2234 will become famous soon enough
Re: Operator Control Help

for the the trigger have an if statement that checks the trigger and the else would release it

use the IFI dachboard to see what the analog sticks on the joystick are and then pull that value into the motors
the code would look like
pwm01=p1_y;
/* this grabs the y axis value of the port 1 joystick and makes the pwm # 1 equal to it
__________________
ALWAYS a mechanical problem!