{baud, NMEA} setting functions for venus GPS chip it is just a copy&paste stuff of these code written by shimniok. http://mbed.org/users/shimniok/code/AVC_2012/docs/tip/GPS_8cpp_source.html https://www.sparkfun.com/datasheets/GPS/Modules/AN0003_v1.4.14_FlashOnly.pdf
Dependents: GPS_setting_Venus_Helloworld gps-fix
Diff: gps_stg_venus.h
- Revision:
- 0:d80196ed93bc
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/gps_stg_venus.h Sat Nov 09 12:07:43 2013 +0000 @@ -0,0 +1,13 @@ +#include "mbed.h" + +class GPSVenus { +public: + GPSVenus(Serial & GPSPort_); + void setBaud_115200(); + void setNmeaMessages(bool gga, bool gsa, bool gsv, bool gll, bool rmc, bool vtg); + void setUpdateRate(int rate); +private: + Serial & GPSPort; +}; + +