Tony Lin
/
BX-car
hello
Fork of BX-car by
pot.h@10:9f0ce6ba7663, 2014-06-26 (annotated)
- Committer:
- TonyLin
- Date:
- Thu Jun 26 14:29:53 2014 +0000
- Revision:
- 10:9f0ce6ba7663
- Parent:
- 7:fd976e1ced33
ok;
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
backman | 7:fd976e1ced33 | 1 | #include "mbed.h" |
TonyLin | 10:9f0ce6ba7663 | 2 | class BX_pot{ |
TonyLin | 10:9f0ce6ba7663 | 3 | public: |
backman | 7:fd976e1ced33 | 4 | //static |
TonyLin | 10:9f0ce6ba7663 | 5 | float read(void); //block in here |
backman | 7:fd976e1ced33 | 6 | BX_pot(char t); |
backman | 7:fd976e1ced33 | 7 | |
backman | 7:fd976e1ced33 | 8 | private: |
backman | 7:fd976e1ced33 | 9 | AnalogIn* pot_in; |
TonyLin | 10:9f0ce6ba7663 | 10 | }; |