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:
- 12:8e39bb45c61c
- Parent:
- 10:0a4bf8c82493
- Child:
- 13:a8e10a69df45
--- a/Global.h Sat Nov 28 15:08:59 2015 +0000 +++ b/Global.h Sat Nov 28 18:47:26 2015 +0000 @@ -30,21 +30,32 @@ static double pitch; static double pitchdegree; - static double trimpitch; static int inttrimpitch; static double yaw; static double yawdegree; - static double trimyaw; static int inttrimyaw; static double airspeed; static double cadence; - static double altitude; static double ultsonic; static double atmpress; + static int pitchcnt; + static int pitchdegreecnt; + static int inttrimpitchcnt; + static int yawcnt; + static int yawdegreecnt; + static int inttrimyawcnt; + static int airspeedcnt; + static int cadencecnt; + static int ultsoniccnt; + static int atmpresscnt; + + + public : - static Queue<char, 20> queue; + static Queue<char, 20> initqueue; + static Queue<float, 50> displayqueue; static void initialize(); static void fileread(); @@ -107,29 +118,23 @@ static double getpitch(); static double getpitchdegree(); - static double gettrimpitch(); static int getinttrimpitch(); static double getyaw(); static double getyawdegree(); - static double gettrimyaw(); 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(int _inttrimpitch); static void setyaw(double _yaw); static void setyawdegree(double _yawdegree); - static void settrimyaw(double _trimyaw); static void setinttrimyaw(int _inttrimyaw); static void setairspeed(double _airspeed); static void setcadence(double _cadence); - static void setaltitude(double _altitude); static void setultsonic(double _ultsonic); static void setatmpress(double _atmpress); };