![](/media/cache/group/default_image.jpg.50x50_q85.jpg)
Classes et code de la partie pompe du Robot 2021
Dependencies: mbed ident_crac
Diff: bloc_monopompe.cpp
- Revision:
- 8:ba95705cf7d4
- Parent:
- 7:b7dc6201b520
- Child:
- 9:6869e3869638
diff -r b7dc6201b520 -r ba95705cf7d4 bloc_monopompe.cpp --- a/bloc_monopompe.cpp Fri Mar 05 18:46:42 2021 +0000 +++ b/bloc_monopompe.cpp Wed May 19 09:53:33 2021 +0000 @@ -11,9 +11,9 @@ float val_cpt; _pompe = PWM_POMPE ; _electrovanne = ELEC_OUVERTE ; - wait_ms(1000) ; + //wait_ms(1000) ; val_cpt = _capteur.read() ; - wait_ms(100) ; + //wait_ms(100) ; if( val_cpt >= SEUIL_CPT) { @@ -31,7 +31,7 @@ { _pompe = PWM_STOP_POMPE; _electrovanne = ELEC_FERME ; - wait_ms(100) ; + //wait_ms(100) ; } _gobelet_en_place = 0 ; }