Main Page | Data Structures | File List | Data Fields | Globals

main.c File Reference

#include <stdio.h>
#include <vcs_bsp/vcsbsp.h>
#include "throttle.h"
#include "gps.h"

Include dependency graph for main.c:

Include dependency graph

Go to the source code of this file.

Functions

int main (void)


Function Documentation

int main void   ) 
 

Definition at line 50 of file main.c.

References evaluate_gps(), gps_get(), gps_parse(), init_gps(), and write_throttle().

00050                {
00051   int counter=0;
00052   char *data_ptr;
00053 
00054   init_bsp();
00055   write_throttle(0);
00056   init_gps();
00057 
00058   while(1) {
00059     if (tick_10mS) {
00060       tick_10mS=0;
00061       wiggler_p1();
00062       evaluate_gps();
00063       data_ptr=gps_get();
00064       if (data_ptr) {
00065         gps_parse(data_ptr);
00066       }
00067     }
00068     if (counter++>100) {
00069       counter=0;
00070     }
00071   }
00072   return (0);
00073 }

Here is the call graph for this function:


Generated on Fri Nov 3 15:17:27 2006 for VCS Application by  doxygen 1.3.9.1