As I said, these are hardcoded into the software, and would require changing each line. However the claw has motors at ports 1 & 10. The square robot does have motors at ports 2 & 3, making it work. More information about ROBOTC for VEX Robotics can be found in this document by Robomatter, Inc (PDF). The PLTW for vex has hardcoded motor ports. A ROBOTC for VEX Robot Virtual Worlds license is required.
ROBOTC VEX CODE
All new Graphical Natural Language editor to easily program VEX IQ and VEX Cortex robots.After a few seconds, ROBOT and VEXnet LEDs will blink green, indicating that the Cortex and VEXnet Remote Control have successfully paired. Tether the USB port on the VEXnet Remote Control to the USB port on the Cortex using a USB A-to-A cable.
![robotc vex robotc vex](https://www.vexforum.com/uploads/default/original/2X/4/4134817560c84740e3433cf8f6f0104c100c498f.png)
![robotc vex robotc vex](https://www.vexrobotics.com/media/catalog/product/cache/d64bdfbef0647162ce6500508a887a85/r/o/robotc.jpg)
ROBOTC has a similar look and feel as the programming environments used in the computer science industries, but also includes many useful tools that help beginner programmers to get up and running as quickly as possible: Establishing a VEXnet Link Setup Guide(cont.) 2. More information about ROBOTC for VEX Robotics can be found in this document by Robomatter, Inc (PDF). A computer with ROBOTC for Cortex 2.3 BETA or higher installed 1 VEX Programming Kit 1 USB A-to-A Cable This document is a guide for downloading and running programs on the VEX Cortex using ROBOTC for Cortex 2.3 BETA. ROBOTC also allows you to prototype your code in simulation environments using Robot Virtual Worlds.
ROBOTC VEX SOFTWARE
Robot programming software options are available with VEX kits and bundles at no extra charge! Free web-based curriculum available for VEX Cortex and VEX IQ provided by Robomatter. ROBOTC users learn key skills that easily transition to the real world, industry standard C-Programming languages used by professional engineers and computer scientists. ROBOTC for VEX Robotics 4.x allows users to program both the VEX Cortex and the VEX IQ robotics platforms.