 //  Serial.println(millis() - lastCommand);
 //  Serial.println(stopedL);
 //  Serial.println(stopedR);
-  if((!stopedL || !stopedR) && (millis() - lastCommand) >= 2000){
-      Serial.println("stop");
-      stopAll();
-    }
+//  if( (millis() - lastCommand) >= 2000){
+//      Serial.println("stop");
+//      stopAll();
+//    }
 }


void loop() {
    WiFiClient client = server.available();  
//    servoLeft.write(360);
//    servoRight.write(360);
//    delay(5000); 

    stopedL = true;
  }
}
*/

void moveR(){
  servoLeft.write(90);
  servoRight.write(360*rightF);
  lastCommand = millis(); 
}

void moveL(){
  servoRight.write(90);
  servoLeft.write(360*leftF);
  lastCommand = millis();  
}

void moveF(){
  servoLeft.write(360*leftF); 
  servoRight.write(360*rightF); 
  lastCommand = millis(); 
}

void moveB(){
  servoLeft.write(-360*leftF); 
  servoRight.write(-360*rightF); 
  lastCommand = millis(); 
}

void stopAll(){
 servoLeft.write(90);
 servoRight.write(90);
}

void setup() {
