Hello, I just got my vision sensor and I am trying to make it that in autonomous when it sees the red ball the robot will stop turning. I have already configured the vision sensor. I can’t figure out how to make it stop turning.
and it needs to be
if (vision20.SIG_Red); {
also, it hurts that your not using a drivetrain.
also, it might need parenthesis. if it did then it would be
if (vision20.SIG_Red()); {
and finally, if you are talking about vexcode pro in the title please change it. it might get you more replies since no one uses vex PRO.