Skip to content

Instantly share code, notes, and snippets.

@pisicaverde
pisicaverde / hello_test_mp3_midi.ino
Created January 5, 2019 14:49
vs1053 playing hardcoded mp3 and midi data
/*
YET-INTERNET-RADIO-WITH-ESP32
*** MP3 & MIDI TEST ***
*/
#include <Arduino.h>
#include <Adafruit_VS1053.h> // don't forget to connect miso/mosi/sck
#define VS_CS 5 // VS1053 chip select pin (output) = Control Chip Select Pin (for accessing SPI Control/Status registers) --> XCS
#define VS_DCS 33 // VS1053 Data/chip/command select pin (output) --> XDSV sau XDCS