I’m sorry,
Sorry for starting another thread, I keep having this problem where I go to Post a Reply, and it just takes me to the bottom of the page without letting me write anything.
Here are my Pragma statements:
#pragma config(I2C_Usage, I2C1, i2cSensors)
#pragma config(Sensor, dgtl1, liftEncoder, sensorQuadEncoder)
#pragma config(Sensor, I2C_1, , sensorQuadEncoderOnI2CPort, , AutoAssign )
#pragma config(Sensor, I2C_2, , sensorQuadEncoderOnI2CPort, , AutoAssign )
#pragma config(Sensor, I2C_3, , sensorQuadEncoderOnI2CPort, , AutoAssign )
#pragma config(Sensor, I2C_4, , sensorQuadEncoderOnI2CPort, , AutoAssign )
#pragma config(Motor, port2, YMotor, tmotorVex393_MC29, openLoop)
#pragma config(Motor, port3, Y2Motor, tmotorVex393_MC29, openLoop)
#pragma config(Motor, port4, Y3Motor, tmotorVex393_MC29, openLoop)
#pragma config(Motor, port5, clawMotor, tmotorVex393_MC29, openLoop)
#pragma config(Motor, port6, flMotor, tmotorVex393_MC29, openLoop, encoderPort, I2C_2)
#pragma config(Motor, port7, blMotor, tmotorVex393_MC29, openLoop, encoderPort, I2C_1)
#pragma config(Motor, port8, frMotor, tmotorVex393_MC29, openLoop, reversed, encoderPort, I2C_3)
#pragma config(Motor, port9, brMotor, tmotorVex393_MC29, openLoop, reversed, encoderPort, I2C_4)
//!!Code automatically generated by ‘ROBOTC’ configuration wizard !!//
#pragma platform(VEX)
//Competition Control and Duration Settings
#pragma competitionControl(Competition)
#pragma autonomousDuration(20)
#pragma userControlDuration(120)
//!!Code automatically generated by ‘ROBOTC’ configuration wizard !!//
#include “Vex_Competition_Includes.c” //Main competition background code…do not modify!