Servo Motor#
To make Servo Motor blocks appear in VEXcode V5, a Servo Motor must be configured in the Devices window.
Spin Servo to Position#
The Spin Servo to Position block is used to spin a Servo Motor to a set position.
This is a waiting block and will prevent subsequent blocks from executing until it is done.
aria-description goes here#
spin [Servo16F v] to position (50) degrees
Select which Servo Motor to use.
The Spin Servo to Position block accepts a range from 0 to 100 degrees.
In this example, the Servo Motor will spin to the 75 degrees position.
aria-description goes here#
when started :: hat events
spin [Servo16F v] to position (75) degrees