![](/media/cache/img/default_profile.jpg.50x50_q85.jpg)
111
Dependencies: BufferedSerial FastPWM mbed
pumpt.h@0:f3108add3d98, 2016-04-12 (annotated)
- Committer:
- sbh9428
- Date:
- Tue Apr 12 06:52:10 2016 +0000
- Revision:
- 0:f3108add3d98
11
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
sbh9428 | 0:f3108add3d98 | 1 | /* |
sbh9428 | 0:f3108add3d98 | 2 | * pumpt.h |
sbh9428 | 0:f3108add3d98 | 3 | * |
sbh9428 | 0:f3108add3d98 | 4 | * Created on: 2016. 4. 11. |
sbh9428 | 0:f3108add3d98 | 5 | * Author: right |
sbh9428 | 0:f3108add3d98 | 6 | */ |
sbh9428 | 0:f3108add3d98 | 7 | |
sbh9428 | 0:f3108add3d98 | 8 | #ifndef PUMPT_H_ |
sbh9428 | 0:f3108add3d98 | 9 | #define PUMPT_H_ |
sbh9428 | 0:f3108add3d98 | 10 | |
sbh9428 | 0:f3108add3d98 | 11 | #include "FastPWM.h" |
sbh9428 | 0:f3108add3d98 | 12 | |
sbh9428 | 0:f3108add3d98 | 13 | class pump_t { |
sbh9428 | 0:f3108add3d98 | 14 | public: |
sbh9428 | 0:f3108add3d98 | 15 | void setPWM(float PWMvlaue); |
sbh9428 | 0:f3108add3d98 | 16 | |
sbh9428 | 0:f3108add3d98 | 17 | pump_t(); |
sbh9428 | 0:f3108add3d98 | 18 | pump_t(FastPWM *_out); |
sbh9428 | 0:f3108add3d98 | 19 | virtual ~pump_t(); |
sbh9428 | 0:f3108add3d98 | 20 | private: |
sbh9428 | 0:f3108add3d98 | 21 | FastPWM *out; |
sbh9428 | 0:f3108add3d98 | 22 | }; |
sbh9428 | 0:f3108add3d98 | 23 | |
sbh9428 | 0:f3108add3d98 | 24 | #endif /* PUMPT_H_ */ |
sbh9428 | 0:f3108add3d98 | 25 |