Would this work for Competition Code

We are new to block coding. Can someone give us some feedback if we’re doing this right. Our main concern is everything will work correctly when we are on the competition field.


in terms of competition, this seems to work, but your if statements shouldn’t be inside each other. What you have right now will only recognize a down press if you press up first, it will only recognize a L2 press if left, right, down, and up are pressed. What i would recommend is using the configuration tool build into vex code V5. but i may be wrong, is it driving when you test it now?

I think I understand what your saying. What do you mean by “configuration tool build into vex code?” It currently is driving okay.

its the thing on the right side of the side, where you told v5 abt ur brain, controller and wings.


on the right side of this screen. In a little bit i can make a tutorial for you, but basically click into your controller in this screen, then click on the joysticks and it automatically generates driving code for you. This will make you use the joystick for driving rather than buttons, which is what you are using now.

https://youtu.be/xLSlRY3x3kY here’s an example of how to set up controller settings

Yeah we programed our controllers just like the video. So we should be good.

2 Likes