Thread: [FTC]: Robot C
View Single Post
  #14   Spotlight this post!  
Unread 10-11-2009, 12:34
l0jec l0jec is offline
Registered User
no team
 
Join Date: Oct 2009
Rookie Year: 2004
Location: St. Louis, MO
Posts: 52
l0jec has a spectacular aura aboutl0jec has a spectacular aura about
Re: [FTC]: Robot C

Quote:
Originally Posted by John_1102 View Post

#include "joystickdriver.c"

task main ()
{
while(true){
getJoystickSettings(joystick);
motor[motorD] = joystick.joy1_y1;
motor[motorE] = joystick.joy1_y2;
}
}
Don't forget to loop!
Reply With Quote