From e7789c275a2e40fab000dc88980a47a2637cfee4 Mon Sep 17 00:00:00 2001 From: andrespm Date: Tue, 12 Jul 2022 13:31:40 -0500 Subject: [PATCH] Comentarios --- MiniSumo/MiniSumo.ino | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/MiniSumo/MiniSumo.ino b/MiniSumo/MiniSumo.ino index 605e450..9133369 100644 --- a/MiniSumo/MiniSumo.ino +++ b/MiniSumo/MiniSumo.ino @@ -130,7 +130,7 @@ void SensorTras( void *pvParameters __attribute__((unused)) ) // This is a Task //evadir digitalWrite(LedEvasion,HIGH); - vTaskDelay(50); + vTaskDelay(500); } else @@ -162,7 +162,7 @@ void SensoresLateral( void *pvParameters __attribute__((unused)) ) // This is a int sensorValueDer = analogRead(A2); String lineaIzq=""; String lineaDer=""; - if(sensorValueIzq>512) + /* if(sensorValueIzq>512) { lineaIzq="Linea Izquierda detectada"; @@ -190,7 +190,7 @@ void SensoresLateral( void *pvParameters __attribute__((unused)) ) // This is a { lineaDer="Linea Derecha no detectada"; digitalWrite(LedEvasion,LOW); - } + }*/ // See if we can obtain or "Take" the Serial Semaphore. // If the semaphore is not available, wait 5 ticks of the Scheduler to see if it becomes free.