Bmag incl gps rettelse
Dependencies: mbed WDT MODSERIAL BME280
main.h
- Committer:
- MAA
- Date:
- 2017-02-23
- Revision:
- 1:f347c4ef25fa
- Parent:
- 0:b3313c5ffca3
File content as of revision 1:f347c4ef25fa:
#include <string> #include "mbed.h" #include "MODSERIAL/MODSERIAL.h" #include "NMEA/NMEA.h" #include "USBHostMSD.h" #include "Watchdog.h" #define FWSRCVERSION "x" #define FWIVERSION "1.2" #define IDENTIFIERID "00" #define ENCODING "0x0" #define TIMEZONE "ZZZ" #define SOURCEIDENTIFICATION "0001" #define INTERPRETERID "0001" #define GROUP "00" #define DATALINEVERSION "01" #define TAG "BMAG" using std::string; //GPS communication init static MODSERIAL gps(p13,p14, 128); //Debug serial connection static Serial dbg(USBTX, USBRX); //GPS Rx callback prototype void rxCallback(MODSERIAL_IRQ_INFO *q); //GPS NMEA Parser static NMEA gpsNMEA; //watchdog Watchdog wd;