Here is our program. The motors on the arm and the fork are not working. When we press the button on the controller, they do not go. Any ideas?
task main()
{
while(1==1)
{
if (abs(vexRT[Ch3])> 10)
motor [bleftMotor] = vexRT[Ch3];
else
motor[bleftMotor] = 0;
if (abs(vexRT[Ch2])> 10)
motor[brightMotor] = vexRT[Ch2];
else
motor[brightMotor] = 0;
//arm and fork motors
motor [bleftarmMotor] = vexRT[Btn5D];
motor [brightarmMotor] = vexRT[Btn5U];
motor [forkleftMotor] = vexRT[Btn6D];
motor [forkrightMotor] = vexRT[Btn6U];
}
}