test1

Fork of VS1053 by Chawisorn samrit

Revision:
1:17913cff05a2
Parent:
0:58524d569dfd
Child:
2:a59255e80c0d
--- a/player.h	Fri Dec 02 19:37:00 2016 +0000
+++ b/player.h	Sat Dec 09 14:21:59 2017 +0000
@@ -5,9 +5,7 @@
 /** Playing states definations. */
 volatile typedef enum {
   PS_STOP,	       // Player stop						 
-  PS_PLAY,         // Start to player                                    
-  PS_PAUSE,        //Pause play                                         
-  PS_RECORDING,    //Recording states                                   
+  PS_PLAY,         // Start to player                                                                    
 } playerStatetype;
 
 /** Control states definations. */
@@ -27,7 +25,10 @@
 public:
   void begin(void);
   void playFile(char *file);
-  void recordFile(char *file);
+  void playfile(char n);
+  void getsong(void);
+  void readswitch(void);
+  void stop(void);
 private:
     
 };