Data structure representing a file on the DFPlayer. More...
Data structure representing a file on the DFPlayer.
If dfplayer_file_t::scheme is DFPLAYER_SCHEME_MP3_FILE, dfplayer_file_t::number holds the number of the represented file. If dfplayer_file_t::scheme is DFPLAYER_SCHEME_FOLDER_FILE, dfplayer_file_t::folder holds the number of the folder containing the represented file and dfplayer_file_t::file the number of the file.
E.g. file 32/123.mp3 would be represented as:
and MP3/0042.mp3 as:
Definition at line 168 of file dfplayer_types.h.
#include <dfplayer_types.h>
Data Fields | |
| union { | |
| uint16_t number | |
| Number of the file (naming scheme "MP3/1337.mp3") | |
| struct { | |
| uint8_t folder | |
| Folder of the file (naming scheme "42/123.mp3") | |
| uint8_t file | |
| Name of the file (naming scheme "42/123.mp3") | |
| } | |
| }; | |
| dfplayer_scheme_t | scheme |
| Used naming scheme. | |