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: PDV_Driver.h
- Revision:
- 0:b74bf233f073
- Child:
- 1:420ee7ee09ca
diff -r 000000000000 -r b74bf233f073 PDV_Driver.h
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/PDV_Driver.h Wed Nov 17 21:52:46 2021 +0000
@@ -0,0 +1,19 @@
+#ifndef PDV_Driver_h
+#define PDV_Driver_h
+
+#include "mbed.h"
+
+class PDV{
+
+ public:
+ PDV(PinName in2);
+ float c1, c2;
+ float volts;
+ float res();
+
+ private:
+ AnalogIn _in2;
+
+};
+
+#endif
\ No newline at end of file