View Single Post
  #1   Spotlight this post!  
Unread 18-01-2016, 21:02
christheman200's Avatar
christheman200 christheman200 is offline
Chris Lansdale, Programmer
AKA: Chris Lansdale
FRC #0854 (Iron Bears)
Team Role: Programmer
 
Join Date: Mar 2015
Rookie Year: 2014
Location: Toronto, Ontario
Posts: 31
christheman200 is an unknown quantity at this point
Unable to invert motor

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
Reply With Quote