 #define PIN_RELAY_LIMITER 7
 
 #define CT_CALIBRATION_VALUE 60.6  // (100A / 0.05A) / 33 ohms
-#define INITIAL_SETTLE_TIME 5000 //15 seconds
+#define INITIAL_SETTLE_TIME 15000 //15 seconds
 
 #define DELAY_BEFORE_LIMITER_RELAY_ENABLE 1000
 

   }


  long long currentTime = millis();

  runningTotal += currentValue;
  samplesTaken++;

  //We don't want to keep printing to screen as it is slow so we just do a running average
  if((currentTime - lastDisplayTime) >= INTERVAL_PRINT){

    lastDisplayTime = currentTime;
    double average = runningTotal / samplesTaken;

    runningTotal = 0;
    samplesTaken = 0;

    lcd.setCursor(0, 0);
    lcd.print(currentValue);
  }


}

#include <U8g2lib.h>
#include "CTSensor.h"

#define CURRENT_ENABLE_THRESHOLD 0.2
