Skip to content

Timing #65

Aug 29, 2021 · 1 comments · 1 reply
Discussion options

You must be logged in to vote

If you use portMAX_DELAY the function will block until the complete buffer is written. So it prevents you from overrun but not from underrun. I intentionally use this instead of interrupts etc. to get an audible feedback if the processing in the main loop is too slow and it didn't manage to fill the buffer in time.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@MichaelPNolan
Comment options

Answer selected by marcel-licence
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants