Does anyone know how to code an Integrated Motor Encoder Module. If so please post the code.
PLEASE
So at the beginning of your code, (or whenever you need to reset an encoder motor to 0) type resetMotorEncoder(motor);
you can get their value in an if, while, or other condition statement by using
getMotorEncoder(motor)
I’ve also know there exists the command nMotorEncoder[motor]; but I don’t use it and I don’t fully understand what it does
@VEXprogrammer Do you use RobotC?
task main()
{
resetMotorEncoder(righty)
while(getMotorEncoder(righty)<=2500)
{
motor[lefty]=100;
motor[righty]=100;
}
}
Yes he’s our teams programmer, he does