This is the example code given.
#include “vex.h”
using namespace vex;
int main() {
vexcodeInit();
Inertial20.calibrate();while (Inertial20.isCalibrating()) {
wait(100, msec);
}LeftMotor.spin(forward);
RightMotor.spin(reverse);waitUntil((Inertial20.rotation(degrees) >= 90.0));
LeftMotor.stop();
RightMotor.stop();
wait(1, seconds);
}