           break;
       }
 
+      initialized = true;
+
       fade(PULSE_MIN_VAL, CHANGE_DURATION / 2);
     }
   }

  FastLED.addLeds<NEOPIXEL, DATA_PIN>(leds, NUM_LEDS);
  FastLED.setCorrection(LED_CORRECTION);

  for (int i = 0; i < NUM_LEDS; i++) {
    leds[i] = CHSV(hue, 255, val);
  }
}

void loop() {


// state
CRGB leds[NUM_LEDS];
bool initialized;
uint8_t hue;
uint8_t val;
bool pulse;
long pulse_duration;



