F746ZG UART Interrupt and Software Uart with DFPlayer Mini(PF_13, PF_14)

Dependencies:   mbed SoftSerial

Revision:
0:2444e79e5540
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/DFPlayer.h	Fri Apr 23 02:58:41 2021 +0000
@@ -0,0 +1,45 @@
+#ifndef DFPLAYER_H
+#define DFPLAYER_H
+
+#include "SoftSerial.h"
+
+#ifdef __cplusplus
+extern "C" {
+#endif
+
+void mp3_send_cmd (uint8_t cmd);
+void fill_uint16_bigend (uint8_t *thebuf, uint16_t data);
+uint16_t mp3_get_checksum (uint8_t *thebuf);
+void mp3_fill_checksum ();
+void send_func ();
+void mp3_send_cmd1 (uint8_t cmd, uint16_t arg);
+void mp3_set_reply (uint8_t state);
+void mp3_play_physical1 (uint16_t num);
+void mp3_play_physical ();
+void mp3_next ();
+void mp3_prev ();
+void mp3_set_volume (uint16_t volume);
+void mp3_set_EQ (uint16_t eq);
+void mp3_set_device (uint16_t device);
+void mp3_sleep ();
+void mp3_reset ();
+void mp3_play ();
+void mp3_pause (); 
+void mp3_stop ();
+void mp3_play1 (uint16_t num);
+void mp3_get_state ();
+void mp3_get_volume (); 
+void mp3_get_u_sum ();
+void mp3_get_tf_sum (); 
+void mp3_get_flash_sum ();
+void mp3_get_tf_current (); 
+void mp3_get_u_current ();
+void mp3_get_flash_current ();
+void mp3_single_loop (uint8_t state);
+void mp3_single_play (uint16_t num);
+void mp3_DAC (uint8_t state);
+void mp3_random_play ();
+#ifdef __cplusplus
+}
+#endif
+#endif
\ No newline at end of file