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:
- 13:a8e10a69df45
- Parent:
- 12:8e39bb45c61c
- Child:
- 16:7e36177b4435
--- a/Global.h Sat Nov 28 18:47:26 2015 +0000 +++ b/Global.h Sun Nov 29 20:44:35 2015 +0000 @@ -39,23 +39,22 @@ 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; + static int pitchtime; + static int pitchdegreetime; + static int inttrimpitchtime; + static int yawtime; + static int yawdegreetime; + static int inttrimyawtime; + static int airspeedtime; + static int cadencetime; + static int ultsonictime; + static int atmpresstime; public : static Queue<char, 20> initqueue; - static Queue<float, 50> displayqueue; static void initialize(); static void fileread(); @@ -127,6 +126,18 @@ static double getultsonic(); static double getatmpress(); + static int getpitchtime(); + static int getpitchdegreetime(); + static int getinttrimpitchtime(); + static int getyawtime(); + static int getyawdegreetime(); + static int getinttrimyawtime(); + static int getairspeedtime(); + static int getcadencetime(); + static int getultsonictime(); + static int getatmpresstime(); + + static void setpitch(double _pitch); static void setpitchdegree(double _pitchdegree); static void setinttrimpitch(int _inttrimpitch);