 
   pinMode(PIN_RELAY_LIMITER, OUTPUT);
   pinMode(PIN_RELAY_MCB, OUTPUT);
-  pinMode(PIN_TEMP, INPUT);
 
   pinMode(PIN_BUTTON_UP, INPUT);
   pinMode(PIN_BUTTON_ENTER, INPUT);


//Obtained from https://learn.adafruit.com/tmp36-temperature-sensor/using-a-temp-sensor
float getTemperature(){

  long total = 0; 
  
  //First value is usually off
  analogRead(PIN_TEMP);
  
  for(int i = 0; i < TEMP_READS_SET; i++){
    total += analogRead(PIN_TEMP);
  }
  
  int reading = total / TEMP_READS_SET; 
  
  // converting that reading to voltage, for 3.3v arduino use 3.3
  float voltage = reading * 5.0;
  voltage /= 1024.0; 
  
  // now print out the temperature
  float temperatureC = (voltage - 0.5) * 100 ;
  
  return temperatureC;
}

bool isAtLeastOneButtonPressed(){

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

#define CURRENT_ENABLE_THRESHOLD 0.2
