dsc.loop() in a timer event interrupt #356
              
                Unanswered
              
          
                  
                    
                      cskzoli
                    
                  
                
                  asked this question in
                dscKeybusInterface Discussion
              
            Replies: 0 comments
  
    Sign up for free
    to join this conversation on GitHub.
    Already have an account?
    Sign in to comment
  
        
    
Uh oh!
There was an error while loading. Please reload this page.
-
Hi,
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
Beta Was this translation helpful? Give feedback.
All reactions