- By Paulsin
- |
- 74HC125, Arduino, Arduino MEGA, Electronic Modules, Electronics, General Blog, SD card module, VS1003
- |
- 423 Views
- |
- 0 Comment
- |
After completing the circuit, upload the following program to Arduino Mega. Program tested and worked good on Arduino 1.8.10. Change the value of “audioName” to the name of audio file to be played in the SD card. Audio files should be stored in the SD card as shown in the following image.
#include <SPI.h#include <SD.h// SCI Registers const uint8_t SCI_MODE = 0x0; const uint8_t SCI_STATUS = 0x1; const uint8_t SCI_BASS = 0x2;