View Single Post
  #5   Spotlight this post!  
Unread 15-02-2008, 00:17
Mark McLeod's Avatar
Mark McLeod Mark McLeod is online now
Just Itinerant
AKA: Hey dad...Father...MARK
FRC #0358 (Robotic Eagles)
Team Role: Engineer
 
Join Date: Mar 2003
Rookie Year: 2002
Location: Hauppauge, Long Island, NY
Posts: 8,817
Mark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond repute
Re: Looking for help with creating a timer.

For Easy C or WPILIB based programming ...

Quote:
Originally Posted by taggartbg View Post
use a "wait" function in the code

if(button){
do thing one;
Wait(3000);
do thing two;
}

The value inside the "wait" function is in milliseconds, so the above code would pause for 3 seconds between thing one and thing two.
__________________
"Rationality is our distinguishing characteristic - it's what sets us apart from the beasts." - Aristotle