Skip to content

Audio Tools ESP32 and Arduino Tasks #1519

Answered by pschatzmann
HobmanX asked this question in Q&A
Discussion options

You must be logged in to vote

If your sketch is not using Bluetooth or WiFi you would not need to bother! Just do something that works...

I personally would set both to be on Core 1 and if this is not working I would keep the one with the heavy load (=the Audio) on Core 1 and offload the lightweight Button handling to core 0.

If you just want to stop to copy temporarily you could call copier.setActive(false) or implement your own logic of not calling copy. If it is for a longer time you might also consider to end the output class.

Replies: 4 comments 2 replies

Comment options

You must be logged in to vote
0 replies
Answer selected by pschatzmann
Comment options

You must be logged in to vote
0 replies
Comment options

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

Comment options

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

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