gg
Dependencies: mbed SDFileSystem
VS1053/MusicPlayer.cpp@0:1d6e44094672, 2016-10-31 (annotated)
- Committer:
- Priunsh_N
- Date:
- Mon Oct 31 17:12:17 2016 +0000
- Revision:
- 0:1d6e44094672
gg
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
Priunsh_N | 0:1d6e44094672 | 1 | /* |
Priunsh_N | 0:1d6e44094672 | 2 | * Mbed class that creates a music player using the VS1053 + SD breakout |
Priunsh_N | 0:1d6e44094672 | 3 | * Created by Priunsh Nagru and Rahul Maran |
Priunsh_N | 0:1d6e44094672 | 4 | */ |
Priunsh_N | 0:1d6e44094672 | 5 | |
Priunsh_N | 0:1d6e44094672 | 6 | MusicPlayer::MusicPlayer(PinName sclk, PinName miso, PinName mosi, PinName cs, PinName rst, PinName xdcs, PinName sdcs, PinName dreq) : |
Priunsh_N | 0:1d6e44094672 | 7 | _spi(mosi, miso, sclk), _cs(cs), _rst(rst), _xdcs(xdcs), _sdcs(sdcs), _dreq(dreq) { |
Priunsh_N | 0:1d6e44094672 | 8 | _cs = 1 |
Priunsh_N | 0:1d6e44094672 | 9 | } |
Priunsh_N | 0:1d6e44094672 | 10 | |
Priunsh_N | 0:1d6e44094672 | 11 |