carte esclave pompe 2020 V1

Dependencies:   mbed ident_crac

Revision:
21:42d6cead9cc2
Parent:
19:952208276c63
Child:
22:f104afbecb98
--- a/class_ventouse.h	Fri Mar 06 08:17:17 2020 +0000
+++ b/class_ventouse.h	Sat Mar 07 17:40:59 2020 +0000
@@ -3,7 +3,7 @@
 #include "extern.h"
 
 
-#define NB_VENTOUSES 8
+#define NB_VENTOUSES 6
 
 
 typedef enum {Attente, Attraper, Attraper_ok, Relacher, Relacher_ok} type_etat ;
@@ -32,7 +32,6 @@
 private:
     PwmOut* m_pompe;
     PwmOut* m_electrovanne;
-    //DigitalOut* m_electrovanne;
     AnalogIn* m_pression;
     
     bool flag_electrovanne;
@@ -43,9 +42,6 @@
     char m_ack;
     
     PinName m_pinPompe, m_pinElectrovanne, m_pinCapteurPression;
-
-    
 };
 
-#endif //CLASS_VENTOUSE_H
-
+#endif //CLASS_VENTOUSE_H
\ No newline at end of file