Chief Delphi

Chief Delphi (http://www.chiefdelphi.com/forums/index.php)
-   Programming (http://www.chiefdelphi.com/forums/forumdisplay.php?f=51)
-   -   what is user_routines_fast.c? (http://www.chiefdelphi.com/forums/showthread.php?t=42720)

sjung9442 26-01-2006 20:25

what is user_routines_fast.c?
 
When do we use user_routines_fast.c?
I don't know what to put in...
Is this the file that I have to put Autonomous mode in? or some other file like
user_routines.c?
Our mentor is still out of country, so we really can't ask anyone in the team...

half geek 26-01-2006 20:41

Re: what is user_routines_fast.c?
 
user_routines_fast.c is used for code that runs on every loop (see main.c to find the loop). Autonomous code goes in User_Autonomous_Code() in user_routines_fast.c
The autonomous code is in user_routines_fast.c because it has a loop that repeats every processor cycle instead of every 26.2ms, as opposed to most other code, which is called from main() once every 26.2ms.

sjung9442 26-01-2006 21:13

Re: what is user_routines_fast.c?
 
thanks


All times are GMT -5. The time now is 01:02.

Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi