View Single Post
  #2   Spotlight this post!  
Unread 14-01-2009, 19:09
Anshu C. Anshu C. is offline
Programming Lead - Team #1351 (TKO)
AKA: Anshu Chimala
FRC #1351 (TKO)
Team Role: Programmer
 
Join Date: Jan 2009
Rookie Year: 2006
Location: California
Posts: 2
Anshu C. is an unknown quantity at this point
Re: Setting inverted motor help

SetInvertedMotor takes two parameters: the first is of type "MotorType", which is a typedef'd enumeration defined in RobotDrive.h. The second is a boolean value.

This is how we used it:

Code:
myRobot.SetInvertedMotor(myRobot.kFrontLeftMotor, true);
Reply With Quote