Update GPS With Thread---> Receiving data from GPS and parsing latitude and longitude to decimal. Using Ublox-Neo 6M.
Dependencies: MODSERIAL mbed-rtos mbed-src
Fork of UbloxGPSWithThread by
Diff: main.h
- Revision:
- 0:ea14ad6794af
- Child:
- 1:acd907fbcbae
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/main.h Sat Apr 12 11:53:35 2014 +0000 @@ -0,0 +1,20 @@ +#pragma once +#include "mbed.h" +#include "MODSERIAL.h" + +MODSERIAL pc(USBTX,USBRX); +MODSERIAL gps(p13,p14); + +DigitalOut led1(LED1); +DigitalOut led2(LED2); +DigitalOut led3(LED3); +DigitalOut led4(LED4); + + + +char cDataBuffer[500]; +int i = 0; + + +void Init(); +void parse(char *cmd, int n);