Skip to content

Use millis instead of delay #10

Description

@kloon

Currently, there are still some blocking function calls running that relies on using delay() for waiting before another function/event fires.

Using mills() combined with more program states instead of delay() we can eliminate all these blocking calls ensuring the main loops stays non-blocking.

See this tutorial for more details on millis() benefit over delay() and how to use it.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions