   Arduino control code for a music maker board and a trellis keypad.
 
   The control code shall
-   * read trellis keys
-   * on key press play a music file from the micro SD card from a specific folder and blink the respective key
-   * on pressing the same key or when playback stops jump to the next file in the folder, until all music is played
+   * read trellis keys (/)
+   * on key press play a music file from the micro SD card from a specific folder and blink the respective key (/)
+   * on pressing the same key or when playback stops jump to the next file in the folder, until all music is played (/)
    * read the rotary decoder to change the volume, the maximum volume can be configured
    * detect when a headphone is plugged in and mute the amplifier for the internal speakers
    * switch the music box off automatically after an idle period
+
+  Todos:
+   - Serial waits for a max. time
+   - Audio off when idle (volume 255,255)
 
   Written by Jörg Keller, Switzerland  
   MIT license, all text above must be included in any redistribution

  // 130: audible 
  // 254: min volume
  // 255: analog off
  player.setVolume(64, 64);
}

unsigned int tickIdleShow() {

#include <SD.h>
#include <Adafruit_VS1053.h>
#include <Adafruit_Trellis.h>
#include <ClickEncoder.h>
#include <TimerOne.h>


#define NUMKEYS 4
#define BLINK_DELAY 100
