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.
Diff: Global.h
- Revision:
- 10:0a4bf8c82493
- Parent:
- 9:d1fc0805ec7d
- Child:
- 12:8e39bb45c61c
diff -r d1fc0805ec7d -r 0a4bf8c82493 Global.h --- a/Global.h Wed Oct 14 13:44:32 2015 +0000 +++ b/Global.h Thu Nov 26 08:14:41 2015 +0000 @@ -31,14 +31,17 @@ static double pitch; static double pitchdegree; static double trimpitch; - static double inttrimpitch; + static int inttrimpitch; static double yaw; static double yawdegree; static double trimyaw; - static double inttrimyaw; + static int inttrimyaw; static double airspeed; static double cadence; - static double altitude; + static double altitude; + static double ultsonic; + static double atmpress; + public : static Queue<char, 20> queue; @@ -105,26 +108,30 @@ static double getpitch(); static double getpitchdegree(); static double gettrimpitch(); - static double getinttrimpitch(); + static int getinttrimpitch(); static double getyaw(); static double getyawdegree(); static double gettrimyaw(); - static double getinttrimyaw(); + static int getinttrimyaw(); static double getairspeed(); static double getcadence(); static double getaltitude(); + static double getultsonic(); + static double getatmpress(); static void setpitch(double _pitch); static void setpitchdegree(double _pitchdegree); static void settrimpitch(double _trimpitch); - static void setinttrimpitch(double _inttrimpitch); + static void setinttrimpitch(int _inttrimpitch); static void setyaw(double _yaw); static void setyawdegree(double _yawdegree); static void settrimyaw(double _trimyaw); - static void setinttrimyaw(double _inttrimyaw); + static void setinttrimyaw(int _inttrimyaw); static void setairspeed(double _airspeed); static void setcadence(double _cadence); - static void setaltitude(double _altitude); + static void setaltitude(double _altitude); + static void setultsonic(double _ultsonic); + static void setatmpress(double _atmpress); }; #endif \ No newline at end of file