View Single Post
  #4   Spotlight this post!  
Unread 30-01-2008, 20:22
timville's Avatar
timville timville is offline
Registered User
AKA: Timothy Friez
FRC #1185 (X-Bots)
Team Role: Alumni
 
Join Date: Mar 2007
Rookie Year: 2003
Location: Pittsburgh
Posts: 18
timville is an unknown quantity at this point
Send a message via AIM to timville
Re: Shuper Shifter servos hookup and programming

You can use Servos just like you would a motor in ROBOTC:

Assuming the Servo is attached to motor port 3:
motor[port3] = 0; //this will center the servo
motor[port3] = -127; //this will adjust the servo to one extreme
motor[port3] = 127; //this will adjust the servo to the other extreme
__________________
2003 - Rookie All-Stars Awards - #1185 (Pittsburgh)
2004-2008 FIRST Volunteer - Ref/Head Ref (Pittsburgh)
2002-2007 FIRST Lego League Volunteer - Head Ref (Pittsburgh)
Reply With Quote