diff --git a/src/main.cpp b/src/main.cpp index db0e3e4..b52c4cb 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -115,15 +115,15 @@ void start_moteur() { } void gaz_moteur() { - if (vRotVis > vRotReel && pos < 180) { + if (vRotVis > vRotReel && pos < 170) { pos ++; } if (vRotReel > vRotVis && pos > 0) { pos --; } moteur.write(pos); - //Serial.println("gaz ="); - //Serial.println(pos); + Serial.println("gaz ="); + Serial.println(pos); } void stop_moteur() {