[FTC]: RobotC Servo Autonomous

I am part of FTC Team 7828 the Robo Ducks. I have been not able to figure out how to program servos during autonomous. Anyone know how to do that? If, so how would you program that for RobotC?

Hey there! For servos in RobotC, the first step is to declare the servos.
To do that, simply adjust the “Motors and sensors setup”, which is accessed by double clicking your motor initialization code. (Pramga config).

Then, simply assign a value from 0 to 251 (i think, i’m not exactly sure of the max) like so:

servo[servo1] = 125;

Hope this helps!