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: AnalogInBaseClass.h
- Revision:
- 1:e68befdcadc0
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/AnalogInBaseClass.h Fri Dec 11 09:59:05 2015 +0000
@@ -0,0 +1,16 @@
+#ifndef MBED_ANALOGINBASE
+#define MBED_ANALOGINBASE
+
+#include "mbed.h"
+
+class AnalogInBaseClass {
+public:
+ AnalogInBaseClass(PinName pin);
+ float read(void);
+
+
+private:
+ AnalogIn _pin;
+};
+
+#endif
\ No newline at end of file