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 2:8917036cbf69 1 #include "mbed.h"
guiott 2:8917036cbf69 2 #include "Common.h"
guiott 2:8917036cbf69 3 #include "mbos.h"
guiott 2:8917036cbf69 4 #include "Tasks.h"
guiott 2:8917036cbf69 5 #include "nmea/nmea.h"
guiott 2:8917036cbf69 6
guiott 2:8917036cbf69 7 void Deg2DegMinSec(double DecDeg, DegMinSec *DecSec);
guiott 2:8917036cbf69 8
guiott 2:8917036cbf69 9 extern mbos os;
guiott 2:8917036cbf69 10 extern nmeaINFO info;
guiott 2:8917036cbf69 11 extern int SetTimeOk;
guiott 2:8917036cbf69 12 extern double latitude, longitude;
guiott 2:8917036cbf69 13 extern nmeaPOS Pos[];
guiott 2:8917036cbf69 14 extern DistAzimuth Path;
guiott 2:8917036cbf69 15
guiott 2:8917036cbf69 16 int PcMonitor=0; // to control serial out on USB serial
guiott 2:8917036cbf69 17
guiott 2:8917036cbf69 18 Serial pc(USBTX, USBRX);