Tony Lin
/
BX-car
hello
Fork of BX-car by
Diff: pot.h
- Revision:
- 7:fd976e1ced33
- Child:
- 10:9f0ce6ba7663
--- /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