From f8c3c21f202d5a76223990bd55a35ddac86e14f2 Mon Sep 17 00:00:00 2001 From: pgp Date: Mon, 1 Feb 2021 17:07:06 +0100 Subject: [PATCH] changements compte-tour & scribe - test --- src/main.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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() {