|
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)
|