Audio

Dependencies:   Lib_DFPlayerMini

Revision:
2:b25892ce36c5
Parent:
1:e64636383d8c
diff -r e64636383d8c -r b25892ce36c5 Lib_DFPlayerMini.cpp
--- a/Lib_DFPlayerMini.cpp	Fri Apr 20 18:13:28 2018 +0000
+++ b/Lib_DFPlayerMini.cpp	Wed May 05 14:59:42 2021 +0000
@@ -14,8 +14,8 @@
 // begin
 void DFPlayerMini::begin(){
     _busy.mode( PullUp );    
-    _serial.baud(9600);
-    _serial.format( 8, RawSerial::None, 1 );
+    _serial.set_baud(9600);
+    _serial.set_format( 8, BufferedSerial::None, 1 );
     return;   
 }