changements compte-tour & scribe - test

This commit is contained in:
pgp 2021-02-01 17:07:06 +01:00
parent 50fd6476ff
commit f8c3c21f20

View file

@ -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() {