changements compte-tour & scribe - test
This commit is contained in:
parent
50fd6476ff
commit
f8c3c21f20
|
@ -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() {
|
||||
|
|
Loading…
Reference in a new issue