I'll do a test within the code using the Serial.read(), to see if the command was received correctly, and I will put the delay too.
And I'll do it on Wednesday because tomorrow I have a lot of classes.
But thanks PaulS, you were very helpful, helped me a lot.