

RobotC Pragma Setup #pragma config(Hubs, S1, HTMotor, HTServo, none, none) #pragma config(Sensor, S1, touch, sensorI2CMuxController) #pragma config(Sensor, S2, compass, sensorVirtualCompass) #pragma config(Sensor, S3, light, sensorLightActive) #pragma config(Sensor, S4, sonar, sensorSONAR) #pragma config(Motor, mtr_S1_C1_1, leftMotor, tmotorNormal, openLoop, encoder) #pragma config(Motor, mtr_S1_C1_2, rightMotor, tmotorNormal, openLoop, reversed, encoder) #pragma config(Servo, srvo_S1_C2_1, servo1, tServoStandard) #pragma config(Servo, srvo_S1_C2_2, servo2, tServoNone) #pragma config(Servo, srvo_S1_C2_3, servo3, tServoNone) #pragma config(Servo, srvo_S1_C2_4, servo4, tServoNone) #pragma config(Servo, srvo_S1_C2_5, servo5, tServoNone) #pragma config(Servo, srvo_S1_C2_6, servo6, tServoNone) //*!!Code automatically generated by 'ROBOTC' configuration wizard !!*// FTC Programming Get to Configuration Window FTC Programming
#Robotc tutorial vex series
When complete, you should see a series of messages similar to below in the Message Log: FTC Programming After a few moments, the Link Setup dialog box will display some verbose information in the Message Log and your NXT should beep several times and restart. For ROBOTC v2.03, the firmware file should be: “NXT798.rfw”. rfw file in default firmware directory in popup and press “Open”. Select NXT in top left corner and press “F/W Download” button.

Make sure NXT is connected via USB and turned on.
#Robotc tutorial vex download
** Also note that the battery level must be high enough on the NXT before it will allow you to download new firmware.
#Robotc tutorial vex upgrade
* Note that this only needs to be done the first time you setup a new NXT brick with ROBOTC and when you upgrade your version of ROBOTC. Robot, Platform Type, LEGO Mindstorms NXT + TETRIX FTC Programmingįirmware Download latest firmware to NXT brick. Set platform type to “LEGO Mindstorms NXT + TETRIX”. RobotC Setup The first time you fire up the ROBOTC IDE, there are a few quick things you will want to do before you begin programming a FTC robot. Set RobotC platform type (NXT + Tetrix) FTC Programming.Link via USB, name the NXT your team number.Note: If you upgrade from an older version of ROBOTC, make sure you upgrade your firmware as well.Download latest firmware (V2.25 - NXT0819.rfw).Turn on NXT and connect NXT to computer via USB cable.Test Platform Wiring Diagram FTC Programming Use names that describe each part and what it does: frontRightMotor frontLeftMotor, pincherServoLeft, etc FTC Programming All this information is great for your engineering notebook FTC Programming.Good time to build an electrical wiring diagram.What Sensors are you using? FTC Programming.How many Tetrix Servo Controllers are you using?.How many Tetrix Motor Controllers are you using?.

