![](/media/cache/group/default_image.jpg.50x50_q85.jpg)
carte esclave pompe 2020 V1
Dependencies: mbed ident_crac
Diff: class_ventouse.cpp
- Revision:
- 20:677dcf689523
- Parent:
- 19:952208276c63
- Child:
- 21:42d6cead9cc2
diff -r 952208276c63 -r 677dcf689523 class_ventouse.cpp --- a/class_ventouse.cpp Thu Mar 05 16:32:21 2020 +0000 +++ b/class_ventouse.cpp Fri Mar 06 08:17:17 2020 +0000 @@ -2,8 +2,8 @@ //float seuil[NB_VENTOUSES] = {0.10, 0.3, 0.3, 0.3, 0.10, 0.3, 0.3, 0.3}; float seuil[NB_VENTOUSES] = {0.1, 0.1, 0.1, 0.1, 0.10, 0.1, 0.1, 0.1}; -#define PWM_POMPE 0.7 -#define PWM_ELECTROVANNE 0.35 +#define PWM_POMPE 0.65 +#define PWM_ELECTROVANNE 0.3 Ventouse::Ventouse(PinName pinPompe, PinName pinCapteurPression, char index) : m_pinPompe(pinPompe), m_pinCapteurPression(pinCapteurPression), m_index(index)