Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependencies: mbed Servo SDFileSystem
Diff: Config.h
- Revision:
- 20:a820531c78bc
- Child:
- 21:99be83550601
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/Config.h Sat Aug 29 01:09:40 2015 +0000 @@ -0,0 +1,50 @@ +#include <stdio.h> +#include <stdlib.h> +#include <string> +#include <vector> +#include <list> +#include <sstream> +#include "mbed.h" +using namespace std; + +#define MAX_IMU_SIZE 29 +#define MAX_TASK_SIZE 5 + +extern string IMU_Y; +extern string IMU_P; +extern string IMU_R; +extern string GPS_Quality; +extern string GPS_UTC; +extern string GPS_Latitude; +extern string GPS_Longtitude; +extern string GPS_Altitude; +extern string GPS_Num_Satellite; +extern string GPS_HDOP; +extern string GPS_VDOP; +extern string GPS_PDOP; +extern string GPS_Date; +extern string GPS_VelocityKnot; +extern string GPS_VelocityKph; +extern double Longtitude_Path[MAX_TASK_SIZE]; +extern double Latitude_Path[MAX_TASK_SIZE]; +extern Serial pc; + +string getIMU_Y(); +string getIMU_P(); +string getIMU_R(); +string getGPS_Quality(); +string getGPS_UTC(); +string getGPS_quality(); +string getGPS_Latitude(); +string getGPS_Longtitude(); +string getGPS_Altitude(); +string getGPS_Num_Satellite(); +string getGPS_HDOP(); +string getGPS_VDOP(); +string getGPS_PDOP(); +string getGPS_Date(); +string getGPS_VelocityKnot(); +string getGPS_VelocityKph(); +string decodeCommandGET(string cmd); +string decodeCommandSET(string cmd); +vector<string> split(const string &s, char delim); \ No newline at end of file