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:
- 19:c6ad6b453b39
- Parent:
- 17:887cfe1d309f
- Child:
- 31:cef6ee7af014
--- a/Global.h Tue May 10 07:50:40 2016 +0000 +++ b/Global.h Wed May 11 03:02:10 2016 +0000 @@ -39,6 +39,8 @@ static double ultsonic; static double atmpress; static int selector; + static double servovolt; + static double miconvolt; static int pitchtime; static int pitchdegreetime; @@ -51,6 +53,9 @@ static int ultsonictime; static int atmpresstime; static int selectortime; + static int servovolttime; + static int miconvolttime; + @@ -124,6 +129,8 @@ static double getultsonic(); static double getatmpress(); static int getselector(); + static double getservovolt(); + static double getmiconvolt(); static int getpitchtime(); static int getpitchdegreetime(); @@ -136,6 +143,9 @@ static int getultsonictime(); static int getatmpresstime(); static int getselectortime(); + static int getservovolttime(); + static int getmiconvolttime(); + static void setpitch(double _pitch); @@ -148,7 +158,9 @@ static void setcadence(double _cadence); static void setultsonic(double _ultsonic); static void setatmpress(double _atmpress); - static void setselector(int _selector); + static void setselector(int _selector); + static void setservovolt(double _servovolt); + static void setmiconvolt(double _miconvolt); }; #endif \ No newline at end of file