Using VEXcode IQ Blocks Example Projects and Templates

Example projects and templates are a great resource if you are just getting started with VEXcode IQ and want to explore different robot behaviors. Example projects and templates also allow you to observe how different blocks in VEXcode IQ are used.


Using Blocks Example Projects

VEXcode IQ Toolbar with the File menu open and the Open Examples option highlighted. Open Examples is the fifth option in the menu, below New Blocks Project, New Text Project, Open, and Open Recent.

To open an example project, select the File menu and choose Open Examples.

Example Projects menu with a variety of projects across different categories to choose from.

Icons for many different example projects will be shown. Each icon represents a different project and are colored according to the block categories.

Example Projects menu with the Filter bar highlighted. The Filter bar has many categories of example projects.

The Filter bar can be used to quickly find a specific type of example.

Example Projects menu with the Changing Velocities example project highlighted.

To open any example, select one from the menu.

VEXcode IQ with the Changing Velocities example project opened, including a description of the project and the project's block code. The user has modified the project by disconnecting part of the stack, and this change is highlighted.

Blocks for the example base project will populate in the workspace. These blocks and their parameters can be changed or removed. Additional blocks can be added to modify the example project.

VEXcode IQ Toolbar with the Download icon highlighted in between the Brain and Run icons.

Save and download the example to try it on your robot.


Using Templates

Example Projects menu with the Templates category in the Filter bar highlighted.

There is also a special type of example called a template.

VEXcode IQ with a template example project opened, including configured devices and a note with a description of the project. The Devices menu is opened to the side to demonstrate that the devices are pre configured to certain ports.

Templates have a special icon and are used to create a blank project with a preset device configuration.

VEXcode IQ with the Clawbot Drivetrain 2 motor template example project opened in the Workspace. The user has added some blocks to the project to control the Claw Motor.

If using a standard robot build, like the Clawbot, a template can be used to quickly get started with a new project.


Notes in Blocks Example Projects and Templates

Blank note is shown in the VEXcode Workspace, with the message Say Something to prompt the user to edit its text.

Each example project and template contains a note in the workspace.

VEXcode IQ with the Changing Velocities example project opened and with its description Note highlighted.

In an example project, the note provides a short summary for what the project does and also lists the device configuration.

VEXcode IQ with a template example project opened and with its description Note highlighted. This template uses multiple devices, and each device is listed under the Configuration section of the note.

In a template, the description notes which devices are listed in the configuration.

Notes can be used to document certain information in a project. For more information on notes, view the Using Notes in a Blocks Project in VEXcode IQ article.

For more information, help, and tips, check out the many resources at VEX Professional Development Plus

Last Updated: