Skip to content

Max9814 to mp3 sdfat example #390

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

You must be logged in to vote

You need to add some logic to close the file: otherwise it will be empty.
To overwrite the file you can just move to the beginning after opening it. If I remember right it's with audioFile.seek(0)
I am not sure if this logic will not work: You define what needs to be done with the file even before it (really) exists.

Replies: 5 comments 1 reply

Comment options

You must be logged in to vote
0 replies
Comment options

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

Answer selected by pschatzmann
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
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