Natthaphon Sudadech
/
PJ04_MASTER
+mp3
Fork of VS1053 by
Diff: player.cpp
- Revision:
- 3:94b538ace77a
- Parent:
- 2:a59255e80c0d
- Child:
- 4:5b1bd3cca8dc
--- a/player.cpp Sat Dec 09 15:07:27 2017 +0000 +++ b/player.cpp Sun Dec 10 07:14:12 2017 +0000 @@ -5,7 +5,6 @@ vs10xx vs1053(D11, D12, D13, D6, D7, D2, D8);//mosi,miso,sclk,xcs,xdcs,dreq,xreset Serial pc(USBTX, USBRX); playerStatetype playerState; -ctrlStatetype ctrlState; static unsigned char fileBuf[32768]; unsigned char *bufptr; char green; @@ -46,6 +45,8 @@ dir->closedir(); } + + void Player::stop(void){ playerState =PS_STOP; }