View Single Post
  #1   Spotlight this post!  
Unread 18-02-2012, 22:20
demons858 demons858 is offline
Registered User
FRC #0858 (Demons)
Team Role: Programmer
 
Join Date: Feb 2012
Rookie Year: 2005
Location: grand rapids, michigan
Posts: 10
demons858 is an unknown quantity at this point
time delayed task

Hello,
Our robot has a button that when pressed gives full power to our shooting mechanism. We also have a belt that supplies the shooter with the balls. I have put together a function to run both the belt motor and the shooting motor when a button is pressed. However we need the belt to start 2 seconds after the shooting motor engages. I am having a major block here and can't figure out how to put a 2 second delay on a task after the button is pressed. I have looked all over and not found anything for the past few days. If anyone can offer any help or examples, it would be greatly appreciated.

thank you
Reply With Quote