Skip to content

Commit 0a17fef

Browse files
committed
Merge branch 'main' of https://github.com/codingABI/DFR0534
2 parents 7ede4ab + d7d2252 commit 0a17fef

File tree

5 files changed

+16
-13
lines changed

5 files changed

+16
-13
lines changed

DFR0534.pdf

-54.3 KB
Binary file not shown.

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ This library is licensed under the terms of the 2-Clause BSD License [Copyright
7474
For function details see comments in [DFR0534.cpp](src/DFR0534.cpp)
7575

7676

77-
### DF0534 pinout
77+
### DFR0534 pinout
7878
![DFR0534](assets/images/DFR0534.jpg)
7979

8080
Minimal schematic to use this library

examples/playFileByName/playFileByName.ino

Lines changed: 6 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -26,22 +26,20 @@ void setup() {
2626
* - All characters in upper case
2727
* - maximal 8 characters
2828
* - Every file and folder whose name length is shorter then 8 chars
29-
* must be filled up to the 8 chars length by spaces.
29+
* must be filled up to the 8 chars length by space chars
3030
* - must end with WAV or MP3
3131
* - Only WAV and MP3 files are supported
32-
* - Wildcards
33-
* * (=multiple arbitrary characters) and
34-
* ? (=one single arbitrary character)
35-
* are allowed and can be used to reduce filling spaces.
32+
* - Wildcards * (=multiple arbitrary characters) and ? (=one single arbitrary character)
33+
* are allowed and can be used to reduce the filling space chars
3634
*
3735
* Valid examples:
3836
* - "/01 WAV" for file '/01.wav'
3937
* - "/99-AFR~1MP3" for a file '/99-Africa.mp3'
40-
* - "/SUN*MP3" for first* file matching /sun*.mp3, for example '/sun.mp3'
41-
* - "/99-AFR*MP3" for first* file matching '/99-Afr*.mp3'
38+
* - "/SUN*MP3" for first file matching /sun*.mp3, for example '/sun.mp3'
39+
* - "/99-AFR*MP3" for first file matching '/99-Afr*.mp3'
4240
* - "/10*" for first* audio file matching /10*.*
4341
* - "/10 /20 WAV" for the file /10/20.wav
44-
* - first* = first in copy order
42+
* - first in copy order
4543
*
4644
* You can get example files from
4745
* https://github.com/codingABI/DFR0534/tree/main/assets/exampleContent

src/DFR0534.cpp

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -229,13 +229,18 @@ void DFR0534::playNext()
229229
* in format which looks like a special unix 8+3 format:
230230
* - Without the dot for the file extension
231231
* - All characters in upper case
232-
* - Every file and folder whose length is shorter then 8 chars must be filled up to the 8 chars length by spaces.
232+
* - maximal 8 characters
233+
* - Every file and folder whose name length is shorter then 8 chars
234+
* must be filled up to the 8 chars length by space chars
235+
* - must end with WAV or MP3
233236
* - Only WAV and MP3 files are supported
234-
* Wildcards * (=multiple arbitrary characters) and ? (=one single arbitrary character) are allowed and can be used to reduce filling spaces.
235-
*
237+
* - Wildcards * (=multiple arbitrary characters) and ? (=one single arbitrary character)
238+
* are allowed and can be used to reduce the filling space chars
239+
*
236240
* Valid examples:
237241
* - "/01 WAV" for file 01.wav
238242
* - "/99-AFR~1MP3" for a file /99-Africa.mp3
243+
* - "/SUN*MP3" for first file matching /sun*.mp3, for example '/sun.mp3' (in this order for example: sun0.mp3 sun.mp3 sun1.mp3)
239244
* - "/99-AFR*MP3" for first file matching /99-Afr*.mp3
240245
* - "/10*" for first audio file matching /10*.*
241246
* - "/10 /20 WAV" for the file /10/20.wav

src/DFR0534.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
#pragma once
2020

2121
/** Library version */
22-
#define DFR0534_VERSION "1.0.1"
22+
#define DFR0534_VERSION "1.0.2"
2323

2424
#include <Arduino.h>
2525
#include <Stream.h>

0 commit comments

Comments
 (0)