PINOUT à jour, trame CAN OK

Dependencies:   mbed ident_crac

Code carte pompe

Revision:
5:176e7353ba1c
Parent:
2:4cc8fa2f64be
Child:
8:a25a9c22ba91
--- 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;