View Single Post
  #1   Spotlight this post!  
Unread 09-02-2010, 23:17
DWirth DWirth is offline
Registered User
FRC #2509
 
Join Date: Feb 2009
Location: Hutch
Posts: 10
DWirth is an unknown quantity at this point
Running Motor for X Milliseconds

Hello,
I'm working on programming our kicker which our team would like to wind up at certain tensions. To do this, I want to have the CIM motor to run for a certain amount of milliseconds if one button is pressed on the joystick. It would be nice if I could use a couple different buttons for different times. Then use a limit switch to tell the motor so stop all the way back no matter what time I select. However, I am not sure how to make the motor set speed vi to run continuously for a set amount of time. Does anyone have any ideas on how I can achieve that? Thanks for your help.
Dillon Wirth
Reply With Quote