Configuración del dispositivo: Motores#

Add a Motor#

Open the Devices Tab#

Select the Devices tab.

Screenshot of VEXcode's tab bar, with the Devices tab highlighted.

If the Devices tab is not visible, see Add a Tab in the Navigating VEXcode tutorial.

Select Add a Device#

Select Add a Device in the Devices tab.

Screenshot of the Devices tab, with the Add a Device button highlighted.

Select Motor#

Select Motor if your robot uses a single motor for this part of the robot.

Screenshot of the Select a device screen, with Motor highlighted.

Select Motor Group#

If your robot uses multiple motors that all work together at the same time to move a part of the robot, select Motor Group instead.

Screenshot of the Select a device screen, with Motor Group highlighted.

Select the Port#

Select the port that your motor, or motors, are connected to.

Screenshot of the Select a port screen for a Motor, showing ports 1 through 21 to choose from.

Select the Cartridge#

On the Name and/or change directions screen, select the color of the motor’s internal gear cartridge: red (36:1, 100 RPM), green (18:1, 200 RPM, the default), or blue (6:1, 600 RPM). This must match the cartridge physically installed in the motor.

Screenshot of the Name and/or change directions screen, with the Gear Cartridge options highlighted, showing red, green, and blue cartridge options.

Set the Direction#

Toggle between Normal and Reversed to set which way is the motor’s forward direction.

Screenshot of the Name and/or change directions screen, showing the forward and reverse direction previews and the Normal/Reversed toggle.

Finish Adding the Motor#

Select Done to add the motor to your robot.

Screenshot of the Name and/or change directions screen, with the Done button highlighted.

View the Motor in Your Devices List#

The Motor or Motor Group will now appear in your list of devices, and its blocks will be added to your toolbox.

Screenshot of the Devices tab, showing Motor1 in the list of devices.