
Re: Servo Rotation Programming
I am new to programming servo in RobotC too, but I read the RobotC function library help and it said the servo array takes a value between 0 and 255. So I tried it out. I coded the following:
This code basically set the servo to 0-degree, 90-degree and then 180-degree and paused 2 seconds in between. It worked as expected.