设备设置:电机#

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 12 to choose from.

Select the Direction#

Select whether to have the forward direction of the motor rotate the motor clockwise or counterclockwise. Then select Done to add the motor to your robot.

Screenshot of the Name and/or change directions screen for a Motor, showing forward and reverse direction options.

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 Motor6 in the list of devices.