Quote:
|
Originally Posted by Adam Shapiro
I haven't worked too much with the new code as of yet as I've been doing electrical systems so far but from my understanding the Process_Data_From_Local_IO() function is called with every program loop. Is there any reason for putting your Navigate() function in this rather than the time-controlled process function?
|
Yes, to minimize latency between clock (and beacon data) updates and when Navigate() is called.
Quote:
|
Originally Posted by Adam Shapiro
Second, the Putdata() function is declared in the IFI_default.h file, making it global to all functions in files including this file. The function should be usable within your Navigate() function or any other function you declare.
|
I suspect sprinkling calls to Putdata() throughout your code is asking for trouble.
-Kevin