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 BX-car by
Diff: pot.h
- Revision:
- 7:fd976e1ced33
- Child:
- 10:9f0ce6ba7663
diff -r 5a39bde2e016 -r fd976e1ced33 pot.h
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/pot.h Sun Jun 22 13:58:01 2014 +0000
@@ -0,0 +1,33 @@
+
+
+
+
+#include "mbed.h"
+class BX_pot{
+
+ public:
+
+ //static
+ float read(void); //block in here
+
+ BX_pot(char t);
+
+
+
+
+
+
+
+
+ private:
+
+ AnalogIn* pot_in;
+
+
+
+
+
+
+
+
+ };
\ No newline at end of file
