1
0
Fork 0

Change high and low values

Dieser Commit ist enthalten in:
Γιώργος Αντρέου 2023-07-01 00:03:56 +03:00
Ursprung 6163744cc9
Commit 9436b73651
1 geänderte Dateien mit 2 neuen und 2 gelöschten Zeilen

Datei anzeigen

@ -86,8 +86,8 @@ void loop() {
}
void forward_brake(int posa, int posb) {
//set the appropriate values for aphase and bphase so that the robot goes straight
digitalWrite(aphase, LOW);
digitalWrite(bphase, HIGH);
digitalWrite(aphase, HIGH);
digitalWrite(bphase, LOW );
analogWrite(aenbl, posa);
analogWrite(benbl, posb);
}