Browse Source

Comentarios

master
parent
commit
e7789c275a
1 changed files with 3 additions and 3 deletions
  1. +3
    -3
      MiniSumo/MiniSumo.ino

+ 3
- 3
MiniSumo/MiniSumo.ino View File

@ -130,7 +130,7 @@ void SensorTras( void *pvParameters __attribute__((unused)) ) // This is a Task
//evadir //evadir
digitalWrite(LedEvasion,HIGH); digitalWrite(LedEvasion,HIGH);
vTaskDelay(50);
vTaskDelay(500);
} }
else else
@ -162,7 +162,7 @@ void SensoresLateral( void *pvParameters __attribute__((unused)) ) // This is a
int sensorValueDer = analogRead(A2); int sensorValueDer = analogRead(A2);
String lineaIzq=""; String lineaIzq="";
String lineaDer=""; String lineaDer="";
if(sensorValueIzq>512)
/* if(sensorValueIzq>512)
{ {
lineaIzq="Linea Izquierda detectada"; lineaIzq="Linea Izquierda detectada";
@ -190,7 +190,7 @@ void SensoresLateral( void *pvParameters __attribute__((unused)) ) // This is a
{ {
lineaDer="Linea Derecha no detectada"; lineaDer="Linea Derecha no detectada";
digitalWrite(LedEvasion,LOW); digitalWrite(LedEvasion,LOW);
}
}*/
// See if we can obtain or "Take" the Serial Semaphore. // 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. // If the semaphore is not available, wait 5 ticks of the Scheduler to see if it becomes free.


Loading…
Cancel
Save