gogo
Dependencies: SDFileSystem mbed
Diff: main.cpp
- Revision:
- 1:864f2a1d0d88
- Parent:
- 0:f6ba8cc58bf6
- Child:
- 2:4c07da0b530b
diff -r f6ba8cc58bf6 -r 864f2a1d0d88 main.cpp --- a/main.cpp Fri Dec 02 19:39:41 2016 +0000 +++ b/main.cpp Fri Dec 08 07:46:41 2017 +0000 @@ -10,14 +10,17 @@ 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]); + player.playFile(list[index]); + index++; + player.playFile(list[index]); + index++; + player.playFile(list[index]); } } \ No newline at end of file