ss
Dependencies: SDFileSystem VS1053 mbed
Revision 0:f6ba8cc58bf6, committed 2016-12-02
- Comitter:
- cha45689
- Date:
- Fri Dec 02 19:39:41 2016 +0000
- Commit message:
- ss
Changed in this revision
diff -r 000000000000 -r f6ba8cc58bf6 SDFileSystem.lib --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/SDFileSystem.lib Fri Dec 02 19:39:41 2016 +0000 @@ -0,0 +1,1 @@ +https://developer.mbed.org/users/cha45689/code/SDFileSystem/#671bbf0d16a3
diff -r 000000000000 -r f6ba8cc58bf6 VS1053.lib --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/VS1053.lib Fri Dec 02 19:39:41 2016 +0000 @@ -0,0 +1,1 @@ +https://developer.mbed.org/users/cha45689/code/VS1053/#58524d569dfd
diff -r 000000000000 -r f6ba8cc58bf6 main.cpp --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/main.cpp Fri Dec 02 19:39:41 2016 +0000 @@ -0,0 +1,23 @@ +#include "mbed.h" +#include "player.h" +Player player; +Ticker t; +Timer timer; + +extern char list[20][50]; //song list +extern unsigned char vlume; //vlume +extern unsigned char vlumeflag; //set vlume flag +extern char index; //song play index +extern char index_MAX; //how many song in all +extern playerStatetype playerState; + +int falltime; + +int main() { + player.begin(); + while(1) + { + player.playFile(list[index]); + + } +} \ No newline at end of file
diff -r 000000000000 -r f6ba8cc58bf6 mbed.bld --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/mbed.bld Fri Dec 02 19:39:41 2016 +0000 @@ -0,0 +1,1 @@ +http://mbed.org/users/mbed_official/code/mbed/builds/da0ca467f8b5