|
Re: Looking for help with creating a timer.
For Easy C or WPILIB based programming ...
Quote:
Originally Posted by taggartbg
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
|