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.
Fork of AnalogOut-HelloWorld by
Diff: mdeviceCtrl.h
- Revision:
- 5:e6536d2d5aba
diff -r 351236622c35 -r e6536d2d5aba mdeviceCtrl.h
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/mdeviceCtrl.h Mon Oct 10 20:40:05 2016 +0000
@@ -0,0 +1,20 @@
+#ifndef DEVICECTRL_H
+#define DEVICECTRL_H
+#include <iostream>
+#include "mdevice.h"
+using namespace std;
+
+class mdeviceCtrl
+{
+public:
+ mdeviceCtrl();
+ void run();
+private:
+ bool switchNeedle1();
+ bool retractNeedle();
+ bool inserNeedle();
+ mdevice *myDevice;
+ int needleStatus;
+};
+
+#endif
\ No newline at end of file
