
21-02-2012, 17:27
|
 |
systems engineer (retired)
no team
|
|
Join Date: Nov 2009
Rookie Year: 1969
Location: US
Posts: 8,065
|
|
|
Re: Adding a delay to commands
Quote:
Originally Posted by APrettyDucky
What I need to do is figure out how to add a delay to a command, like when i press and hold button, the motor that is supposed to turn is delayed for a second, and then turns. I am also wondering how to implement this into autonomous.
Thanks
|
You have two choices:
1) state machine
2) periodic tasks
|