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 mbedTimer SDFileSystem MU2 GPS
Diff: inletclose/inletclose.h
- Revision:
- 8:6b835a82b1eb
- Parent:
- 3:4f1bac105598
- Child:
- 16:917a2c03bd7c
diff -r b7bf39bc3487 -r 6b835a82b1eb inletclose/inletclose.h
--- a/inletclose/inletclose.h Wed Aug 07 10:03:17 2019 +0000
+++ b/inletclose/inletclose.h Sun Aug 18 05:08:10 2019 +0000
@@ -30,6 +30,11 @@
}
}
+ void Stop()
+ {
+ _Out=0;
+ }
+
float getvalue1()
{
value1=_In1.read();
@@ -40,7 +45,7 @@
{
value2=_In2.read();
return value2;
- }
+ }
};