Datasheet
Adafruit_VS1053(uint8_t mosi, uint8_t miso, uint8_t clk, uint8_t rst,
uint8_t cs, uint8_t dcs, uint8_t dreq) - Software SPI constructor - must specify
all pins.
Adafruit_VS1053(uint8_t rst, uint8_t cs, uint8_t dcs, uint8_t dreq) -
Hardware SPI constructor - assumes hardware SPI pins.
uint8_t begin(void) - Initialize SPI communication and (hard) reset the chip.
void reset(void) - Performs a hard reset of the chip.
void softReset(void) - Attempts a soft reset of the chip.
uint16_t sciRead(uint8_t addr) - Reads from the specified register on the chip.
void sciWrite(uint8_t addr, uint16_t data) - Writes to the specified register on
the chip.
void sineTest(uint8_t n, uint16_t ms) - Generate a sine-wave test signal.
void spiwrite(uint8_t d) - Low-level SPI write operation.
uint8_t spiread(void) - Low-level SPI read operation.
uint16_t decodeTime(void) - Reads the DECODETIME register from the chip.
void setVolume(uint8_t left, uint8_t right) - Set the output volume for the chip.
void dumpRegs(void) - Prints the contents of the MODE, STATUS, CLOCKF and
VOLUME registers.
void playData(uint8_t *buffer, uint8_t buffsiz) - Decode and play the contents
of the supplied buffer.
boolean readyForData(void) - Test if ready for more data.
void applyPatch(const uint16_t *patch, uint16_t patchsize) - Apply a code
patch (See datasheet for details).
uint16_t loadPlugin(char *fn) - Load the specified plug-in.
void GPIO_digitalWrite(uint8_t i, uint8_t val) - Write to a GPIO pin.
void GPIO_digitalWrite(uint8_t i) - Write to all 8 GPIO pins at once.
© Adafruit Industries
https://learn.adafruit.com/adafruit-vs1053-mp3-aac-ogg-midi-wav-
play-and-record-codec-tutorial
Page 29 of 32