Hi all!
I have the following code in my main robot class, and it is giving me a number of exceptions which I can't conquer:
Code:
MainDrive.setInvertedMotor(Talon.kRearLeft, true);
MainDrive.setInvertedMotor(Talon.kRearRight, true);
Exceptions:
First line:
- Syntax error on tokens, delete these tokens
- Syntax error on token "(", < expected
Second line:
- Syntax error on tokens, TypeArgument1 expected instead
- Syntax error on token "(", , expected
Any and all help is appreciated!
Thanks, Chris