|
|
|
![]() |
|
|||||||
|
||||||||
|
|
Thread Tools | Rate Thread | Display Modes |
|
#2
|
|||
|
|||
|
Re: [FTC]: Autonomous Code Ender
You can set a while loop as less than one of the timer's in robotc. You'll have to check the help files for the exact syntax as I don't remember it offhand, but if I remember correctly, I think it looks something like...
while(T1<20000) { //put code here } I think that T1 is a millisecond timer, but just search the help files in RobotC for timer and you should be good to go. Oh and you probably want to set T1 equal to 0 at the beginning of autonomous, but I'm not 100% sure (again, the help file should tell you everything you need to know). |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| [FTC]: 3033 Autonomous! | Mushrooshi | FIRST Tech Challenge | 6 | 21-04-2009 22:19 |
| [FTC]: 121 Autonomous | gregsanCHEVY121 | FIRST Tech Challenge | 20 | 10-04-2009 23:10 |
| [FTC]: Autonomous | saaby | FIRST Tech Challenge | 8 | 19-02-2009 12:45 |
| Video: FTC 3 Cloverfield Autonomous | Synergy1848 | Robot Showcase | 0 | 26-02-2008 14:34 |
| Autonomous code | PBoss | Programming | 7 | 14-01-2003 15:29 |