   // INT pin requires a pullup
   pinMode(INTPIN, INPUT_PULLUP);
 
-  initializeTrellis(false);
+  initializeCard();
+  initializePlayer();
+  initializeTrellis(0);
 }
 
-void initializeTrellis(boolean delay) {
+void initializeTrellis(int delay) {
   trellis.begin(0x70);
   //trellis.readSwitches(); // ignore already pressed switches
 

  
    state = PLAY_SELECTED;
    playingAlbum = index;
   
    Serial.print("Playing album #"); Serial.println(index);
  }
}


 ****************************************************/

#include <Wire.h>
#include <SPI.h>
#include <SD.h>
#include <Adafruit_VS1053.h>
#include <Adafruit_Trellis.h>

#define NUMKEYS 4
#define BLINK_DELAY 100
#define READ_DELAY   50

// Trellis pin setup
#define INTPIN 1

// Feather/Wing pin setup
#define MUSIC_RESET   -1     // VS1053 reset pin (not used!)
#define CARD_CS        5     // Card chip select pin
#define MUSIC_CS       6     // VS1053 chip select pin (output)
#define MUSIC_DCS     10     // VS1053 Data/command select pin (output)
#define MUSIC_DREQ     9     // VS1053 Data request, ideally an Interrupt pin (not possible on 32u4)

// States
#define IDLE_LIGHT_UP 1
