|
|
|
![]() |
|
|||||||
|
||||||||
![]() |
|
|
Thread Tools | Rate Thread | Display Modes |
|
|
|
#1
|
|||
|
|||
|
I know that if you are programing a loop in the MAIN section it loops like 38ms or something but what is it when you are in the users_routins_fast section! I want to make a program in that atonomous section but I have no idea where to start because I don't know how long to make each part of it. Could someone please tell me the number of loops the fast section does a second!!
|
|
#2
|
||||
|
||||
|
Re: Looping Atonomous
actually in the auton section of the user_fast code, the auton looks for new input data on each loop - so I take that as meaning, the auton code will run the same as the process_data_ from_uP loop
26.2mS per loop unless you take that statement to look for new input out of the auton code. |
|
#3
|
|||||
|
|||||
|
Re: Looping Atonomous
Quote:
If you want to keep track of time, you can 1) use interrupts, 2) poll the PIC timer registers, or 3) use the 26ms-or-so communication as a timebase. |
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| pic: 84's Atonomous Stack Slapper | CD47-Bot | Extra Discussion | 2 | 06-04-2003 22:43 |
| control program looping??? | ctartist236 | Programming | 1 | 08-02-2002 10:09 |