Tony Lin
/
BX-car
hello
Fork of BX-car by
Diff: pot.h
- Revision:
- 10:9f0ce6ba7663
- Parent:
- 7:fd976e1ced33
diff -r 33b99cb45e99 -r 9f0ce6ba7663 pot.h --- a/pot.h Tue Jun 24 10:06:54 2014 +0000 +++ b/pot.h Thu Jun 26 14:29:53 2014 +0000 @@ -1,33 +1,10 @@ - - - - #include "mbed.h" -class BX_pot{ - - public: - +class BX_pot{ + public: //static - float read(void); //block in here - + float read(void); //block in here BX_pot(char t); - - - - - - - private: - AnalogIn* pot_in; - - - - - - - - - }; \ No newline at end of file +}; \ No newline at end of file