 
     currentState = STATE_MCB_TRIPPED;
     mcbTrippedCurrent = currentValue;
-    Serial.println("MCB tripped");
+    Serial.print("MCB tripped at: ");
+    Serial.println(mcbTrippedCurrent);
   }
 
   int buttonPressed = digitalRead(PIN_BUTTON_ENTER);

int samplesTaken = 0;

unsigned long enableWindowTime = 0;


double mcbTrippedCurrent;


#include "CTSensor.h"

#define CURRENT_ENABLE_THRESHOLD 0.2
#define CURRENT_MCB_CUT 16

#define PIN_LED 26
#define PIN_CT A0
