I keep getting the same errors, and don’t know what they mean.
#pragma config(I2C_Usage, I2C1, i2cSensors)
#pragma config(Sensor, I2C_1, , sensorQuadEncoderOnI2CPort, , AutoAssign )
#pragma config(Sensor, I2C_2, , sensorQuadEncoderOnI2CPort, , AutoAssign )
#pragma config(Motor, port1, leftMotor1, tmotorVex393_HBridge, openLoop, driveLeft, encoderPort, I2C_2)
#pragma config(Motor, port2, leftMotor2, tmotorVex393_MC29, openLoop, driveLeft)
#pragma config(Motor, port3, rightMotor1, tmotorVex393_MC29, openLoop, driveRight, encoderPort, I2C_1)
#pragma config(Motor, port4, rightMotor2, tmotorVex393_MC29, openLoop, driveRight)
#pragma config(Motor, port5, mobileGoal1, tmotorVex393_MC29, openLoop)
#pragma config(Motor, port6, mobileGoal2, tmotorVex393_MC29, openLoop)
//!!Code automatically generated by ‘ROBOTC’ configuration wizard !!//
#pragma platform(VEX)
#pragma competitionControl(Competition)
#pragma userControlDuration(105000)
#pragma autonomousDuration(15000)
task main()
{
task usercontrol()
{
{
motor(leftMotor1)= vexRT(Ch3)/2;
motor(leftMotor2)= vexRT(Ch3)/2;
motor(rightMotor1)= vexRT(Ch3)/2;
motor(rightMotor2)= vexRT(Ch3)/2;
if (vexRT[Btn6D]==1)
{
motor(mobileGoal1)=127;
motor(mobileGoal2)=127;
}
else if(vexRT[Btn6U]==1)
{
motor(mobileGoal1)=-127;
motor(mobileGoal2)=-127;
}
else
{
motor(mobileGoal1)=0;
motor(mobileGoal2)=0;
}
}
task autonomous()
{
thisisaplaceholder();
}
}
}