changements compte-tour & scribe - test
This commit is contained in:
parent
50fd6476ff
commit
f8c3c21f20
|
@ -115,15 +115,15 @@ void start_moteur() {
|
||||||
}
|
}
|
||||||
|
|
||||||
void gaz_moteur() {
|
void gaz_moteur() {
|
||||||
if (vRotVis > vRotReel && pos < 180) {
|
if (vRotVis > vRotReel && pos < 170) {
|
||||||
pos ++;
|
pos ++;
|
||||||
}
|
}
|
||||||
if (vRotReel > vRotVis && pos > 0) {
|
if (vRotReel > vRotVis && pos > 0) {
|
||||||
pos --;
|
pos --;
|
||||||
}
|
}
|
||||||
moteur.write(pos);
|
moteur.write(pos);
|
||||||
//Serial.println("gaz =");
|
Serial.println("gaz =");
|
||||||
//Serial.println(pos);
|
Serial.println(pos);
|
||||||
}
|
}
|
||||||
|
|
||||||
void stop_moteur() {
|
void stop_moteur() {
|
||||||
|
|
Loading…
Reference in a new issue