Whenever I turn on the brain, some motors instantly turn on and stay until I turn the brain off. The only code we downloaded to the brain was a test joystick program that consisted only of one button that moved one motor. Why is it doing this, and how do i fix it?
are you using motor controllers?
Is there a way you can send the test program that you have downloaded to the robot? Sometimes some test programs do get old or causes coding errors… If you need a program where you press one button to turn one motor, try this code to see if it would still work:
task main(){
while(true){
if (vexRT[Btn6U]==1){//Change the button to any button you'd like
motor[port1]=127;//Change the motor and power to anything you'd like, 127 is max
}
else if (vexRT[Btn6D]==1){//Change the button to any button you'd like
motor[port1]=-127;//Change the motor and power to anything you'd like, 127 is max
}
else{
motor[port1]=0;//Change the motor and power to anything you'd like, 127 is max
}
}
}