 
     currentState = STATE_WINDOW_BEFORE;
     Serial.println("Window Before");
+    shortBeepXTimes(2);
   }
 
 

    mcbTrippedCurrent = currentValue;
    Serial.print("MCB tripped at: ");
    Serial.println(mcbTrippedCurrent);
  }

  int buttonPressed = digitalRead(PIN_BUTTON_ENTER);

#define PIN_CT A0
#define PIN_BUTTON_ENTER 24
#define PIN_TEMP A11
#define PIN_BUZZER 4

#define PIN_RELAY_MCB 5
#define PIN_RELAY_LIMITER 7

#define BUZZER_BEEP_ON_TIME 20
#define BUZZER_BEEP_OFF_TIME 300
#define BUZZER_LONG_BEEP_TIME 500

#define CT_CALIBRATION_VALUE 60.6  // (100A / 0.05A) / 33 ohms
#define INITIAL_SETTLE_TIME 15000 //15 seconds
