-
- Downloads
First commit for GPS code, Using HardwareSerial for Serial comms.
_rodGPS_SimpleDistance() function to calculate distance between two points.
_rodGPS_MakeReading() to make a reading from GPS IC.
_rodGPS_PrintGPRMC() to print data
simple_GPRMC struct defined to store data given by IC. Use std::atof to convert the strings to float values
Signed-off-by:
Rodrigo Amaral <roaa1g19@soton.ac.uk>
Showing
- rodGPS/.gitignore 5 additions, 0 deletionsrodGPS/.gitignore
- rodGPS/.vscode/extensions.json 7 additions, 0 deletionsrodGPS/.vscode/extensions.json
- rodGPS/.vscode/settings.json 44 additions, 0 deletionsrodGPS/.vscode/settings.json
- rodGPS/include/README 39 additions, 0 deletionsrodGPS/include/README
- rodGPS/lib/README 46 additions, 0 deletionsrodGPS/lib/README
- rodGPS/platformio.ini 16 additions, 0 deletionsrodGPS/platformio.ini
- rodGPS/src/main.cpp 19 additions, 0 deletionsrodGPS/src/main.cpp
- rodGPS/src/rodGPS.cpp 115 additions, 0 deletionsrodGPS/src/rodGPS.cpp
- rodGPS/src/rodGPS.hpp 24 additions, 0 deletionsrodGPS/src/rodGPS.hpp
- rodGPS/test/README 11 additions, 0 deletionsrodGPS/test/README
Loading
Please register or sign in to comment