
30-01-2012, 21:24
|
 |
systems engineer (retired)
no team
|
|
Join Date: Nov 2009
Rookie Year: 1969
Location: US
Posts: 8,065
|
|
|
Re: How often is code run in teleop?
Quote:
Originally Posted by DominickC
Awesome, thanks.
Now, how can I set code to write a value, sleep/wait for x ms, then write another value?
|
Use a state machine or a parallel loop (thread).
Explained here:
http://www.chiefdelphi.com/forums/sh...96&postcount=3
... and here:
http://www.chiefdelphi.com/forums/sh...21&postcount=6
|