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
Task4LedBlink.h@2:8917036cbf69, 2012-01-31 (annotated)
- Committer:
- guiott
- Date:
- Tue Jan 31 00:22:58 2012 +0000
- Revision:
- 2:8917036cbf69
WDT optimized for reliability. A better organization of source code has be done separating each task in a dedicated module.
Who changed what in which revision?
User | Revision | Line number | New 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 | DigitalOut led1(LED1); |
guiott | 2:8917036cbf69 | 8 | DigitalOut led2(LED2); |
guiott | 2:8917036cbf69 | 9 | DigitalOut led3(LED3); |
guiott | 2:8917036cbf69 | 10 | DigitalOut led4(LED4); |
guiott | 2:8917036cbf69 | 11 | |
guiott | 2:8917036cbf69 | 12 | extern mbos os; |
guiott | 2:8917036cbf69 | 13 | extern nmeaINFO info; |