VEX IQ (1st gen) API Reference#
Welcome to the VEX IQ (1st gen) API Reference. This site explains the Blocks and C++ commands available in VEXcode IQ.
Use this reference to learn what a command does, what information it needs, what it reports or returns, and how it can be used in a project.
API Sections#
Blocks - Learn about the blocks available in VEXcode IQ, including what each block does, what its inputs mean, and how it can be used in a project.
C++ - Learn about the C++ classes, objects, constructors, member functions, parameters, return values, and examples used in VEXcode IQ.
VEXcode Tutorials - Find tutorials and supporting resources for learning how to use VEXcode IQ.
How to Use This Reference#
Choose the section for the coding language or resource you are using.
Use the sidebar or search bar to find a device, category, block, command, or class.
Read the description to understand what the command does and when it is useful.
Check the parameters to see what inputs are needed and what options are available.
Review the example to see one way the command can be used in a project.
Tips for Using the API#
Start with the device or category you are working with, such as Drivetrain, Brain, Controller, or Sensors.
Read the description before copying an example so you understand what the command is meant to do.
Check parameter tables carefully. Small changes to inputs can change how the robot behaves.
Use examples as a starting point, then change values, directions, ports, or names to match your own project.