I can’t post in the ROBOTC forum, so, here is the answer.
You need to use the motor port as the index to nMotorEncoder
use nMotorEncoder LeftMotor1 ] or nMotorEncoder port2 ].
Do not use the sensor name ie. do not use nMotorEncoder I2C_1 ]
I can’t post in the ROBOTC forum, so, here is the answer.
You need to use the motor port as the index to nMotorEncoder
use nMotorEncoder LeftMotor1 ] or nMotorEncoder port2 ].
Do not use the sensor name ie. do not use nMotorEncoder I2C_1 ]