First off, welcome to the wonderful world of robot coding! I’m a bit confused as to what help you need. What about the menu on the brain is confusing you? Do you have a picture?
I put your code in a program to test it, and it all checks out. Could you be a little more specific with what you’re having trouble with?
(If you’re confused about the black screen while the program is running, that’s normal and there’s nothing to be worried about. That’s the output if you print something to the screen, and you aren’t, so it’ll be a blank black space.)
Quick indentation tip
Careful with your tabbing! Sometimes, when you don’t indent your code, you can easily confuse function layers with other function layers and it’s way harder to debug and understand.
If you right-click on the space next to the code, you’ll see a little menu box. Hit “Format Document” and it’ll indent everything perfectly for you. It’s a great tool and it makes things way easier to read.
Hope that helps, and feel free to ask more questions if it didn’t.
For me, when I run the program, I don’t really worry about what’s on the screen. The only buttons I use are stop and run program. Besides that’s there’s nothing that I know of that will affect the program while running. You’re talking about the stuff that shows up on the V5 Brain when you run the program right?
On the Vex Controller, you can click the middle icon and then pick the Program you would like to run. Then select run. If you need anymore help just ask.