Library for Skytraq Venus838 GPS

Dependents:   Venus838_Test Atlas

Committer:
ethanharstad
Date:
Tue Jun 24 04:46:31 2014 +0000
Revision:
0:8c7efefad15e
Initial commit

Who changed what in which revision?

UserRevisionLine numberNew contents of line
ethanharstad 0:8c7efefad15e 1 #ifndef VENUS838_H_
ethanharstad 0:8c7efefad15e 2 #define VENUS838_H_
ethanharstad 0:8c7efefad15e 3
ethanharstad 0:8c7efefad15e 4 #include "mbed.h"
ethanharstad 0:8c7efefad15e 5
ethanharstad 0:8c7efefad15e 6 class Venus838 {
ethanharstad 0:8c7efefad15e 7 public:
ethanharstad 0:8c7efefad15e 8 Venus838(PinName tx, PinName rx);
ethanharstad 0:8c7efefad15e 9 void setNmeaMessages(const bool gga, const bool gsa, const bool gsv, const bool gll, const bool rmc, const bool vtg);
ethanharstad 0:8c7efefad15e 10 void setUpdateRate(const uint8_t rate);
ethanharstad 0:8c7efefad15e 11 void setNavigationMode(const int mode);
ethanharstad 0:8c7efefad15e 12 bool readable();
ethanharstad 0:8c7efefad15e 13 void putc(char in);
ethanharstad 0:8c7efefad15e 14 char getc();
ethanharstad 0:8c7efefad15e 15
ethanharstad 0:8c7efefad15e 16 private:
ethanharstad 0:8c7efefad15e 17 Serial _gps;
ethanharstad 0:8c7efefad15e 18 };
ethanharstad 0:8c7efefad15e 19
ethanharstad 0:8c7efefad15e 20 #endif