Closed crouse12 closed 1 year ago
No. These are completely different functions.
millis() simply counts down the time from the start of the program. delay() stops it for the specified time.
Thank for your response. Second question: Is it possible for us to use mqtt or web server when I use this esp-now library?
Of course. For an example, see https://github.com/aZholtikov/ESP-NOW-Gateway
When I use delay() to replace millis(), the program cannot work. Is it possible for us to use delay()?