All lights on the Cortex and Joystick are green except the “Robot” light which is a red and blinks once. This means it is a programming error but I cannot seem to find the issue. I am using the following code
"
#pragma config(Motor, port2, TWO, tmotorVex269_MC29, openLoop, reversed)
#pragma config(Motor, port3, THREE, tmotorVex269_MC29, openLoop)
#pragma config(Motor, port4, FOUR, tmotorVex269_MC29, openLoop, reversed)
#pragma config(Motor, port5, ONE, tmotorVex269_MC29, openLoop)
//!!Code automatically generated by ‘ROBOTC’ configuration wizard !!//
//!!Code automatically generated by ‘ROBOTC’ configuration wizard !!//
task main()
{
while(true)
{
motor(ONE)=motor(THREE)=vexRT(Ch2);
motor(TWO)=motor(FOUR)=vexRT(Ch3);
}
}
"