File tree Expand file tree Collapse file tree 4 files changed +13
-4
lines changed Expand file tree Collapse file tree 4 files changed +13
-4
lines changed Original file line number Diff line number Diff line change 11/*
22 * Example for using the DFR0534 for playing combined audio files like a playlist
3+ *
4+ * This code was made for Arduino Uno/Nano. For ESP32 you have the change the code to use HardwareSerial
5+ * instead for SoftwareSerial (see https://github.com/codingABI/DFR0534?tab=readme-ov-file#hardwareserial-for-esp32)
36 */
47
58#include < SoftwareSerial.h>
Original file line number Diff line number Diff line change 11/*
22 * Example for using the DFR0534 for playing audio files by file name
3+ *
4+ * This code was made for Arduino Uno/Nano. For ESP32 you have the change the code to use HardwareSerial
5+ * instead for SoftwareSerial (see https://github.com/codingABI/DFR0534?tab=readme-ov-file#hardwareserial-for-esp32)
36 */
47
58#include < SoftwareSerial.h>
@@ -19,17 +22,17 @@ void setup() {
1922 // Set volume
2023 g_audio.setVolume (18 );
2124
22- /* The file name/path for the function playFileByName() is the
23- * full path of the audio file to be played in format which looks like
25+ /* The file name/path for the function playFileByName() is the
26+ * full path of the audio file to be played in format which looks like
2427 * a special unix 8+3 format:
2528 * - Without the dot for the file extension
2629 * - All characters in upper case
2730 * - maximal 8 characters
28- * - Every file and folder whose name length is shorter then 8 chars
31+ * - Every file and folder whose name length is shorter then 8 chars
2932 * must be filled up to the 8 chars length by space chars
3033 * - must end with WAV or MP3
3134 * - Only WAV and MP3 files are supported
32- * - Wildcards * (=multiple arbitrary characters) and ? (=one single arbitrary character)
35+ * - Wildcards * (=multiple arbitrary characters) and ? (=one single arbitrary character)
3336 * are allowed and can be used to reduce the filling space chars
3437 *
3538 * Valid examples:
Original file line number Diff line number Diff line change 11/*
22 * Example for using the DFR0534 for playing audio files by file number
3+ *
4+ * This code was made for Arduino Uno/Nano. For ESP32 you have the change the code to use HardwareSerial
5+ * instead for SoftwareSerial (see https://github.com/codingABI/DFR0534?tab=readme-ov-file#hardwareserial-for-esp32)
36 */
47
58#include < SoftwareSerial.h>
You can’t perform that action at this time.
0 commit comments