Quote:
Originally Posted by GoldenGollem
First off, thanks Engunner for the idea of using booleans to organize the code. I am using one limit switch to stop the motor from moving too far in the reverse. I am, however having issues with
Code:
if (intakeMotorForward && !limitSwitch ) {
It is showing that there is and error there.
|
Did you define the variable and assign a value to it (get the limit switch status)?