![](/media/cache/group/default_image.jpg.50x50_q85.jpg)
carte esclave pompe 2020 V1
Dependencies: mbed ident_crac
Diff: class_ventouse.h
- Revision:
- 5:176e7353ba1c
- Parent:
- 2:4cc8fa2f64be
- Child:
- 8:a25a9c22ba91
diff -r 82c90657da4a -r 176e7353ba1c class_ventouse.h --- a/class_ventouse.h Wed May 08 17:46:13 2019 +0000 +++ b/class_ventouse.h Wed May 15 09:09:00 2019 +0000 @@ -8,6 +8,7 @@ class Ventouse { public: + Ventouse(PinName pinPompe, PinName pinCapteurPression, char index); Ventouse(PinName pinPompe, PinName pinElectrovanne, PinName pinCapteurPression, char index); void automate(); @@ -30,11 +31,13 @@ PwmOut* m_electrovanne; AnalogIn* m_pression; + bool flag_electrovanne; bool flag_attraper; bool flag_relacher; type_etat etat; char m_index; char m_ack; + PinName m_pinPompe, m_pinElectrovanne, m_pinCapteurPression;