We are just starting with the V5 system and vex code V5 text and our Instructor said that we had to put a program on one button on the controller and we need help programming it.
All help is welcomed and thank you.
ArmMotor.spin(forward);
ArmMotor.setVelocity(10,percent);
{
if(Controller1.ButtonA.pressed()){ //On this one is where we keep getting the mesage
Often if you’re getting an error message, it tells you what is wrong. If you don’t understand the error message, you would have to post it where other people can see it so they can help you interpret it. We can’t help you interpret an error message we’ve never seen, especially when we haven’t seen all of your code, either.