GPS and IMU reading works
Dependencies: mbed Servo SDFileSystem
Diff: Get.cpp
- Revision:
- 20:a820531c78bc
- Parent:
- 15:dbf20c1209ae
- Child:
- 25:30966ed7f7e8
--- a/Get.cpp Fri Aug 28 08:04:57 2015 +0000 +++ b/Get.cpp Sat Aug 29 01:09:40 2015 +0000 @@ -1,4 +1,4 @@ -#include "Get.h" +#include "Config.h" string getIMU_Y() { @@ -61,7 +61,7 @@ return GPS_VelocityKph; } -string decodeCommand(string cmd) { +string decodeCommandGET(string cmd) { if (cmd == "IMU_Y") { return(getIMU_Y()); } else if (cmd == "IMU_P") { @@ -93,6 +93,6 @@ } else if (cmd == "GPS_VelocityKph") { return(getGPS_VelocityKph()); } else { - return("Not acceptable command, example: @GET=GPS_Quality"); + return("Not valid command, example: @GET=GPS_Quality"); } } \ No newline at end of file