   pinMode(PIN_RELAY_LIMITER, OUTPUT);
   pinMode(PIN_RELAY_MCB, OUTPUT);
   pinMode(PIN_BUTTON_ENTER, INPUT);
+  pinMode(PIN_TEMP, INPUT);
 
   changeDisplayBacklight(true);
   passFullCurrentThrough(false);

  if(currentState != STATE_WINDOW_BEFORE){

    passFullCurrentThrough(false);
    changeMCBRelayState(false);

    //In order to turn off the Bypass SSR, we have cut power to the entire setup first to prevent residual current from holding the Bypass SSR open
    delay(50);
    changeMCBRelayState(true);

    currentState = STATE_WINDOW_BEFORE;


  //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){
    float temperature = getTemperature();

    lastDisplayTime = currentTime;
    double average = runningTotal / samplesTaken;
    Serial.println(average);

    runningTotal = 0;
    samplesTaken = 0;

    u8g2.setFont(u8g2_font_9x18_tr);
    char buffer[10];

    dtostrf(currentValue, 4, 2, buffer);

    u8g2.clearBuffer();

    u8g2.drawStr(0,20, buffer);

    dtostrf(temperature, 4, 0, buffer);

    u8g2.drawStr(0,40, buffer);

    u8g2.sendBuffer();
  }
