Configuring an Individual VEX GO Device in VEXcode 5

In VEXcode 5, you can add individual devices, such as a Motor, LED Bumper, or Eye Sensor, to your VEX GO robot’s configuration one at a time. Each device you add puts its blocks in the toolbox so you can code it.

To add a whole VEX GO build at once, like a Code Base 2.0, go here.

Add a Device

VEXcode tab bar with the Devices tab highlighted, next to the Help tab.

Select the Devices tab.

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

VEXcode View menu open with Reset Tab Layout highlighted.

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

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

VEXcode Devices tab with the Add a device button highlighted, below Select a build.

Select Add a device in the Devices tab.

Select a device list with LED BUMPER highlighted.

Select the device you want to add, such as LED BUMPER.

These steps are the same for the LED Bumper, Electromagnet, Eye Sensor, and One Stick Controller. The Drivetrain and Motor have a few extra steps, shown below.

LED Bumper Select a port screen with the ports highlighted. Port 2 is selected and port 1 is grayed out.

Select the port the device is plugged into.

Ports already in use are grayed out. The Eye Sensor always uses the Brain’s Eye Sensor port, and the One Stick Controller has no port, so skip this step for them.

LED Bumper screen with the Done button highlighted.

Select Done.

To rename the device, type a new name at the top before selecting Done.

VEXcode Devices tab with LEDBumper2 highlighted, showing port 2.

The device now shows in the Devices tab, with the port it uses.

VEXcode toolbox with the LED category highlighted, showing the LEDBumper2 blocks.

Its blocks also appear in the toolbox. For example, adding an LED Bumper adds the LED category.

Add a Drivetrain

Select a device list with DRIVETRAIN highlighted.

In the Select a device list, select DRIVETRAIN.

Add a Drivetrain if two motors drive your robot’s wheels, like on the Code Base.

Left Motor - Select a port screen with ports 1 through 4 highlighted.

Select the port the left motor is plugged into.

Left and right are as seen from the back of the robot. The Code Base has its left motor in port 4.

Right Motor - Select a port screen with ports 1 through 4 highlighted. Port 4 is grayed out.

Select the port the right motor is plugged into.

The port already used for the left motor is grayed out. The Code Base has its right motor in port 1.

Drivetrain Settings screen with the Done button highlighted, below the Gear Ratio, Direction, and Super Car Drivetrain settings.

Select Done.

If your build needs it, change the Gear Ratio or Direction first, or switch to Super Car Drivetrain for the Super Car build.

Add a Motor

Select a device list with MOTOR highlighted.

In the Select a device list, select MOTOR.

Add a Motor for a motor that isn’t part of a Drivetrain, such as the arm motor on the Robot Arm build.

Motor Select a port screen with ports 1 through 4 highlighted.

Select the port the motor is plugged into.

Motor settings screen with the name box highlighted, showing ArmMotor, and the directions renamed up and down.

Type a name for the motor, such as ArmMotor.

You can also rename its two directions, such as up and down. Use the Normal and Reversed switch to make sure the rotation of the motor matches your build.

Motor settings screen with the Done button highlighted.

Select Done.

Motion category in the toolbox with the spin ArmMotor up block highlighted.

The Motion blocks now use the motor’s name and directions.

Descriptive motor names can help make your code easier to read, like spin ArmMotor up.

Delete a Device

VEXcode Devices tab listing Eye, Controller, ArmMotor, LEDBumper2, and Magnet3, with Magnet3 highlighted.

Select the device in the Devices tab.

Each device you added is listed with the port it uses.

Electromagnet screen with the Delete button highlighted.

Select Delete.

The device and its blocks are removed right away.

To connect your VEX GO Brain to VEXcode 5 so you can run your project, go here.

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

Last Updated: