delay()

by the way, I came back to try to solve the problem with millis (), since some believed that I had tried it a short time (since they only saw the time between post and post, and not the time I had spent fighting).

I solved it. Thanks to sterretje and westfw who taught me the way.

regards!