How to write a binary file in ESP32

Thread Starter

marcelocampilima

Joined Sep 22, 2021
4
Hi everyone,

I am working on a project, and I need to create and write on a binary file (.mp3) in the microcontroller ESP32. I tried to find any examples, but I couldn't.

Does anyone know you to do it?

I appreciate your help.
 

Thread Starter

marcelocampilima

Joined Sep 22, 2021
4
You need some sort of storage to create & write a file, say an SD card. So doya got one?
Yes, I will use the SPIFFS (flash) to create the file. I already do this writing text files and it is working fine. Now I receive a base64 String content of an mp3 file on the ESP32 and need to create and write the mp3 binary file.
 
Top