View Single Post
  #3   Spotlight this post!  
Unread 20-02-2005, 01:09
Don Reid Don Reid is offline
Registered User
#0997
Team Role: Mentor
 
Join Date: Jan 2003
Rookie Year: 2002
Location: Corvallis, Oregon
Posts: 45
Don Reid will become famous soon enough
Re: Speed of user_routines_fast.c

In normal mode Process_Data_From_Local_IO() is called over and over as fast as it can be. How often it runs depends on what it does (how long that takes).
If you have access to an oscilloscope and want to measure how long your code takes, you can pulse or toggle a digital output each time through and measure it.

In autonomous mode, User_Autonomous_Code() is called once, but it has a
loop inside it which runs once every 26 ms. It exits when autonomous mode ends.

These are both called from main() in main.c.
__________________
Don Reid

Last edited by Don Reid : 20-02-2005 at 01:11.