1
1
forked from MDL29/JacoBot

Minor fixes

This commit is contained in:
Linux_Hat 2024-04-25 22:11:03 +02:00
parent 92e8329119
commit 811252599e

View File

@ -52,9 +52,9 @@ void setup() {
} }
void loop() { void loop() {
Serial.println("Forward 20 cm"); Serial.println("Forward 50 cm");
car.forward(SIZE,50); car.forward(SIZE,50);
Serial.println("Tune on the right"); Serial.println("Turn on the right");
car.turn(90, 20); car.turn(90, 20);
if (radio->read() && strcmp(radio->message, "STOP") == 0){ if (radio->read() && strcmp(radio->message, "STOP") == 0){
Serial.println("Stop car"); Serial.println("Stop car");