I need help with vexcode autonomous

so, I am trying to get an autonomous program with rotations started and I can only get one motor to spin at once. I need help pretty quick

can you post your code? sounds like your commands are blocking. if you add ‘false’ as the last param it should come unblocking and not stop the rest of your code from running

image

yup, so spinFor by default stops the code execution until it finishes spinning. To tell it not to do that, add ‘false’ to the end like so:

LeftSlurp.spinFor(12,turns,false);

3 Likes

Ok thank you so much