Hi everyone! I was researching how to use the vex Gryo, and have come across some code that is partly confusing me. What is the difference between code like this:
//reinitialize gyro
SensorType[in8] = sensorNone;
wait1Msec(1000);
//reassign gyro
SensorType[in8] = sensorGyro;
wait1Msec(2000);
and this:
SensorValue gyroPort ] = 0;
Do they both do the same thing, which is resetting the gyro?