![]() |
CIM programming question
I plan on connecting a CIM motor on my pickup device. I will probably use a talon. What method is best to use in order to run the CIM? I will probably program one button to make the CIM go in one direction and another for the other direction.
|
Re: CIM programming question
The code for this task varies depending on what template you are using: SimpleRobot, IterativeRobot, or Command Based. If you're using SimpleRobot or IterativeRobot, just add a Talon to your robot class...
Code:
private Talon pickupMotor = new Talon(1);Code:
// inside operatorControl() or teleopPeriodic() |
| All times are GMT -5. The time now is 22:37. |
Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi