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

STATE nextState = STATE_WINDOW_BEFORE;

U8G2_UC1701_MINI12864_F_4W_SW_SPI u8g2(U8G2_R2, 21, 20, 19, 22);
CTSensor clamp(PIN_ANALOG, CT_CALIBRATION_VALUE);

unsigned long lastDisplayTime = 0;
double runningTotal = 0;


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