![](/media/cache/group/default_image.jpg.50x50_q85.jpg)
carte esclave pompe 2020 V1
Dependencies: mbed ident_crac
Diff: class_ventouse.h
- Revision:
- 19:952208276c63
- Parent:
- 12:2491a5b0f90b
- Child:
- 21:42d6cead9cc2
--- a/class_ventouse.h Sat May 25 14:08:48 2019 +0000 +++ b/class_ventouse.h Thu Mar 05 16:32:21 2020 +0000 @@ -3,13 +3,8 @@ #include "extern.h" -#ifdef ROBOT_SMALL - #define NB_VENTOUSES 8 -#endif +#define NB_VENTOUSES 8 -#ifdef ROBOT_BIG - #define NB_VENTOUSES 3 -#endif typedef enum {Attente, Attraper, Attraper_ok, Relacher, Relacher_ok} type_etat ; @@ -36,8 +31,8 @@ private: PwmOut* m_pompe; - //PwmOut* m_electrovanne; - DigitalOut* m_electrovanne; + PwmOut* m_electrovanne; + //DigitalOut* m_electrovanne; AnalogIn* m_pression; bool flag_electrovanne;