   updateCurrentTime(true);
   readAlarmTimeFromEEPROM();
   updateStartTime();
+  
 //  turnLightOn();
 //  delay(1000);
 //  turnLightOff();

    linearBrightOfStep(totalDimmerSteps);
    return;
  }
  logisticBrightOfMilliseconds(static_cast<unsigned long>(millis()-alarmStartMillis));
}


void updateTime(ClockTime & t, int16_t delta) {
  t.minute += delta;
  updateTimeDisplay(t,true,true);
}

void updateAlarm(int16_t delta) {
  alarmTime += delta;
  updateTimeDisplay(alarmTime,true,true);
}



#define TimeButton 9
#define TimeLED 10
#define OffButton A0
#define alarmMasterSwitch 8
#define RotaryButton A1

// Sound effects serial TX/RX pins:
#define SFX_TX 5
#define SFX_RX 6
// Sound effects reset pin:
#define SFX_RST 4
SoftwareSerial ss = SoftwareSerial(SFX_TX, SFX_RX);
Adafruit_Soundboard sfx = Adafruit_Soundboard(&ss, NULL, SFX_RST);

#define NUM_LED 32
#define LED_PIN 6
Adafruit_NeoPixel strip = Adafruit_NeoPixel(NUM_LED, LED_PIN, NEO_GRB + NEO_KHZ800);

bool alarmMasterSwitchEnabled = true;
bool alarmEnabled = true;
bool alarmActive = false;

