From aec24e1fc4aff719b970951f624abf56da7f5f36 Mon Sep 17 00:00:00 2001
From: Andrea Manni <andrea@piffa.net>
Date: Thu, 6 Apr 2017 12:24:22 +0200
Subject: [PATCH] raw

---
 prototypes/macchina/raw/raw.ino | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/prototypes/macchina/raw/raw.ino b/prototypes/macchina/raw/raw.ino
index 17b324b..3261b98 100644
--- a/prototypes/macchina/raw/raw.ino
+++ b/prototypes/macchina/raw/raw.ino
@@ -13,7 +13,7 @@ Codice: http://git.andreamanni.com/web?p=rove
 #include "rover.h"
 #include "Servo.h"
 
-int rotPausa = 100; // Pausa per una rotazione di ~90'
+int rotPausa = 1000; // Pausa per una rotazione di ~90'
 
 void setup()
 {
@@ -25,8 +25,8 @@ void setup()
 void loop()
 {
 // Fintanto che non ci sono ostacoli: avanti
-    while (check() = 0) {
-        avanti()
+    while (distanceCheck() == 0) {
+        avanti();
     }
 // Se c'e' un ostacolo: ferma e gira
     stop();
-- 
2.39.2