Using the Devices Tab with IQ (1st gen) in VEXcode 5

This article will explain how to use the Devices tab in VEXcode 5 with VEX IQ (1st gen). The Devices tab shows the devices in your project, such as motors and sensors, and the Smart Ports they use on the Brain. You can add a whole build at once, add devices one at a time, and remove devices you no longer need.

Open the Devices Tab

VEXcode 5 tab bar with the Devices tab highlighted.

Select the Devices tab.

The Devices tab is on the right side of VEXcode, next to the Help tab.

VEXcode 5 View menu with Reset Tab Layout highlighted.

If you don’t see the Devices tab, select Reset Tab Layout from the View menu.

This will put the Devices and Help tabs back on the right side of VEXcode.

Using Builds

If you built your robot from instructions at builds.vex.com, you can add a pre-made configuration of all of the devices in that build at once.

Devices tab with Select a build highlighted.

Select Select a build.

Select a build screen with the Clawbot IQ build highlighted.

Select the build you made from builds.vex.com.

Versions of the Clawbot IQ build, with Drivetrain, Gyro highlighted.

If your build has more than one version, select the version you made.

Current Configuration screen with the build's devices and their port numbers highlighted.

Check that all of the devices on your robot are plugged into the Smart Ports shown.

Current Configuration screen with the Done button highlighted.

Select Done.

Devices tab showing the Drivetrain, ArmMotor, and ClawMotor devices added from the build.

The build’s devices will appear in the Devices tab.

Toolbox with the Drivetrain category open and the drive and turn blocks highlighted.

The commands for the added devices will show up in the Toolbox.

Adding Devices

If you built your own robot, or added devices to a build, add each device one at a time. This section uses a Touch LED as the example.

Devices tab with Add a device highlighted.

Select Add a device.

Select a device screen with the Touch LED highlighted.

Select the device you want to add.

Port selection screen with Smart Ports 1 through 12 highlighted.

Select the Smart Port the device is plugged into on the Brain.

Some devices, such as a Drivetrain, Motor, or Controller, will have more settings to choose. See the links at the end of this article for each one.

Port selection screen with a port selected and the Done button highlighted.

Select Done.

Devices tab with TouchLED2 on port 2 highlighted.

The device will appear in the Devices tab, with the Smart Port it uses.

Toolbox with the Sensing category open and the Touch LED blocks highlighted.

Its blocks will appear in the Toolbox.

Removing Devices

Devices tab with ClawMotor highlighted.

Select the device you want to remove.

ClawMotor settings with the Delete button highlighted.

Select Delete.

For more detailed information on configuring specific devices, see the IQ (1st gen) tutorials in the VEX Coding API:

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

Last Updated: