File tree 1 file changed +4
-4
lines changed
examples/Beginner/Audio_Playback
1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -28,7 +28,7 @@ void setup()
28
28
while (!msd.connect ())
29
29
delay (1000 );
30
30
31
- Serial.println (" Mounting USB device..." );
31
+ Serial.println (" Mounting USB device ..." );
32
32
int const rc_mount = usb.mount (&msd);
33
33
if (rc_mount)
34
34
{
@@ -37,7 +37,7 @@ void setup()
37
37
return ;
38
38
}
39
39
40
- Serial.println (" Opening audio file.." );
40
+ Serial.println (" Opening audio file . .." );
41
41
42
42
// 16-bit PCM Mono 16kHz realigned noise reduction
43
43
FILE * f = fopen (" /USB_DRIVE_NAME/AUDIO_SAMPLE.wav" , " r+" );
@@ -48,10 +48,10 @@ void setup()
48
48
return ;
49
49
}
50
50
51
- // Crucial (from mBed)
51
+ Serial. println ( " Playing audio file ... " );
52
52
wav_play_rl (f, dac1, false );
53
53
54
- // Cleanup.
54
+ Serial. println ( " Cleaning up ... " );
55
55
fclose (f);
56
56
}
57
57
You can’t perform that action at this time.
0 commit comments