I got this to work using a timer instead of an interrupt. A Little help please
Pin 18 on a mega is a hardware interrupt. Why didn't it work.
#define BREAKOUT_CS 16 // VS1053 chip select pin (output)
#define BREAKOUT_DCS 17 // VS1053 Data/command select pin (output)
#define DREQ 18 // VS1053 Data request, ideally an Interrupt pin
#define BREAKOUT_RESET 19 // VS1053 reset pin (output)
#define CARDCS 10 // Card chip select pin
#define VS1053_FILEPLAYER_PIN_INT 18 // Added 10-31-2017 QK.
// DREQ should be an Int pin, see http://arduino.cc/en/Reference/attachInterrupt
This works
if (! musicPlayer.useInterrupt(VS1053_FILEPLAYER_TIMER0_INT))
this does not
if (! musicPlayer.useInterrupt(VS1053_FILEPLAYER_PIN_INT)) // DREQ int
I would prefer to use a hardware interrupt.