 #define FRAMES_PER_SECOND  120
 #define ARRAY_SIZE(A) (sizeof(A) / sizeof((A)[0]))
 #define SET_IDLE_MILLISECONDS 20000 // how many seconds at idle before moving to sleep?
+#define NUM_LEDS_PER_SECONDS 2 // how many LEDs are turned on every second when playing?
 
 // Variables used in CheckAccel() routine
 MPU6050 accelgyro;

    break;
    
  case Start_Play_Transition:
    if (millis()-start_time>START_PLAY_TRANSITION){condition=Play;start_time=millis();}
    else {LED("start_play");}
    break;
    
  case Play:
    LED("play");
    if (accel_status=="fallen"){condition=Game_Over_Transition;start_time=millis();}
    break;
    

  }
}

void alloff() {
  for (int i = NUM_LEDS; i >=0; i--) {
    leds[i]=CRGB::Black;
    delay(10);
    FastLED.show();
  }
  //FastLED.show();
}

enum {Check_Battery,Wake_Up_Transition,Idle,Start_Play_Transition,Play,Wahoo,Game_Over_Transition, Sleep_Transition} condition=Idle;

void loop() {
