Skip to content

dsc.loop() in a timer event interrupt #357

Description

@cskzoli

Hi,

Asking advice on following:
In my main loop I have some blocking procedures (can be several seconds) and would like to put dsc.loop() out from the main loop (to maintain its functionality).
My idea is to run dsc.loop() with a timer interrupt (eg. every 100ms).

What is the recommended interval for dsc.loop() to run?
Developing on PlatformIO/esp32 if that matter.

Thanks

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions