-#include <UC1701.h>
+#include <U8g2lib.h>
 #include "CTSensor.h"
 
 #define CURRENT_ENABLE_THRESHOLD 0.2

STATE currentState = STATE_MCB_TRIPPED;
STATE nextState = STATE_WINDOW_BEFORE;

UC1701 lcd;
CTSensor clamp(PIN_ANALOG, CT_CALIBRATION_VALUE);

unsigned long lastDisplayTime = 0;

   }


//  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);
//  }


}
