This article is not viewable in your language. Please check back at a future date.
This article's translation was completed by machine translation. Please forgive any possible errors.
VEXcode Pro is a text-based programming language based on the standard C++ programming language. Using VEXcode Pro V5 to code your V5 robot is an engaging way of understanding some fundamental programming concepts.
Whether students have experience with VEXcode V5 or are starting with VEXcode Pro V5, it is important to have an understanding of the basics of text programming.
How a V5 Robot Receives and Uses the VEXcode Pro V5 Instructions
- In VEXcode Pro V5, users create instructions which will be sent to the robot to control it. These instructions are written in C++ text. Those instructions are processed by the C++ compiler, a tool which is used to convert programming text into machine code. Machine code is the numerical language that is loaded onto the robot brain, where it is then executed.
- If the compiler cannot process the instructions, the programmer receives an error message. If the compiler successfully converts the program, the program will then be ready to run.
- Many programs use input from sensors to determine what action, or output, it will perform.
For more information on compiling a program, please refer to the following article: