//================= functionsMotors =================
void motors(int Speed1,int Speed2){
   if(Speed1 >= 0){
       analogWrite( pinMotor1, Speed1);
       digitalWrite(pinDirection1,LOW);
     }
   else{
      analogWrite( pinMotor1, 256+Speed1);
      digitalWrite(pinDirection1,HIGH);
    }

   if(Speed2 >= 0){
      analogWrite( pinMotor2, Speed2);
       digitalWrite(pinDirection2,LOW);
      }
   else{
      analogWrite( pinMotor2, 256+Speed2);
      digitalWrite(pinDirection2,HIGH);
    }
  }
  //================================================

