Vexcode v5 studio text ports are off by one

Was testing VexCode v5 Studio Text and when trying to test the motors, the defined ports were off by one. For example, the intake port motor was put into port 5 but defined as port 6 and would only run then.

55%20PM

use the enumerated types, vex::PORT5 etc.
most things in the SDK are 0 index based, the same as C arrays.

4 Likes