carte esclave pompe 2020 V1
Dependencies: mbed ident_crac
Diff: class_ventouse.h
- Revision:
- 22:f104afbecb98
- Parent:
- 21:42d6cead9cc2
- Child:
- 23:7f62f27c028f
diff -r 42d6cead9cc2 -r f104afbecb98 class_ventouse.h --- a/class_ventouse.h Sat Mar 07 17:40:59 2020 +0000 +++ b/class_ventouse.h Sun Mar 08 23:05:13 2020 +0000 @@ -2,7 +2,6 @@ #define CLASS_VENTOUSE_H #include "extern.h" - #define NB_VENTOUSES 6 @@ -11,7 +10,7 @@ class Ventouse { public: - Ventouse(PinName pinPompe, PinName pinCapteurPression, char index); + //Ventouse(PinName pinPompe, PinName pinCapteurPression, char index); Ventouse(PinName pinPompe, PinName pinElectrovanne, PinName pinCapteurPression, char index); void automate(); @@ -22,13 +21,10 @@ bool getPression(); bool getPompe(); - void setPompe(float val); void setElectrovanne(int val); - - private: PwmOut* m_pompe; PwmOut* m_electrovanne;