A porting of a GPS decoding and presenting program within the mbos RTOS. It is not a definitive application but a study program to test NMEA full decoding library and a first approach to an RTOS. Many thanks to Andrew Levido for his support and his patience on teaching me the RTOS principles from the other side of the Earth. It uses NMEA library by Tim (xtimor@gmail.com) ported by Ken Todotani (http://mbed.org/users/todotani/) on public mbed library (http://mbed.org/users/todotani/programs/GPS_nmeaLib/5yo4h) also available, as original universal C library, on http://nmea.sourceforge.net

Dependencies:   mbos Watchdog TextLCD mbed ConfigFile

Committer:
guiott
Date:
Fri Feb 03 16:29:52 2012 +0000
Revision:
3:a2f9eb3b8a16
Parent:
2:8917036cbf69

        

Who changed what in which revision?

UserRevisionLine numberNew contents of line
guiott 0:d177c0087d1f 1 #define PCBAUD 115200
guiott 0:d177c0087d1f 2 #define GPSRX p10
guiott 0:d177c0087d1f 3 #define GPSBAUD 4800
guiott 0:d177c0087d1f 4 #define BUFF_SIZE 256
guiott 0:d177c0087d1f 5
guiott 0:d177c0087d1f 6 #define LCD_LIGHT_DIM_TIMER 5000
guiott 0:d177c0087d1f 7 #define SHOW_LCD_TIMER 500
guiott 0:d177c0087d1f 8 #define TEMP_TIMER 500
guiott 2:8917036cbf69 9 #define WDT_TIMER 250
guiott 2:8917036cbf69 10 #define WDT_TIMEOUT .3f
guiott 2:8917036cbf69 11
guiott 2:8917036cbf69 12
guiott 2:8917036cbf69 13 typedef struct _DegMinSec
guiott 2:8917036cbf69 14 {
guiott 2:8917036cbf69 15 int Deg;
guiott 2:8917036cbf69 16 int Min;
guiott 2:8917036cbf69 17 double Sec;
guiott 2:8917036cbf69 18 } DegMinSec;
guiott 2:8917036cbf69 19
guiott 2:8917036cbf69 20 typedef struct _DistAzimuth
guiott 2:8917036cbf69 21 {
guiott 2:8917036cbf69 22 double Dist;
guiott 2:8917036cbf69 23 double Azimuth[2];
guiott 2:8917036cbf69 24 } DistAzimuth;
guiott 2:8917036cbf69 25
guiott 2:8917036cbf69 26 enum DirLab{Mag, Dir, Gps};