![](/media/cache/img/default_profile.jpg.50x50_q85.jpg)
good
Fork of BX-car by
Diff: pot.h
- Revision:
- 7:fd976e1ced33
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