diff --git a/crawler_software/arduino/crawler_slave/crawler_slave.ino b/crawler_software/arduino/crawler_slave/crawler_slave.ino index dee8522..b64a899 100644 --- a/crawler_software/arduino/crawler_slave/crawler_slave.ino +++ b/crawler_software/arduino/crawler_slave/crawler_slave.ino @@ -51,7 +51,9 @@ void receiveEvent(int n) { switch(id) { case 1: - windowWiperServo.write(val); + windowWiperServo.write(val); // Set a val + delay(5); // pause for a moment + windowWiperServo.detach(); // Detach (stop moving) the servo break; } }