   return temperatureC;
 }
 
+bool isAtLeastOneButtonPressed(){
+
+  int upPressed = digitalRead(PIN_BUTTON_UP);
+  int enterPressed = digitalRead(PIN_BUTTON_ENTER);
+  int downPressed = digitalRead(PIN_BUTTON_DOWN);
+
+  if(upPressed == LOW || enterPressed == LOW || downPressed == LOW){
+    return true;
+  } else {
+    return false;
+  }
+}
 
 void shortBeepXTimesNoDelay(int times){
   beepsLeft = times;  


#define PIN_LED 26
#define PIN_CT A0
#define PIN_BUTTON_ENTER 24
#define PIN_TEMP A11
#define PIN_BUZZER 4

#define PIN_RELAY_MCB 5
#define PIN_RELAY_LIMITER 7


  pinMode(PIN_RELAY_LIMITER, OUTPUT);
  pinMode(PIN_RELAY_MCB, OUTPUT);
  pinMode(PIN_TEMP, INPUT);

  pinMode(PIN_BUTTON_UP, INPUT);
  pinMode(PIN_BUTTON_ENTER, INPUT);
  pinMode(PIN_BUTTON_DOWN, INPUT);

  changeDisplayBacklight(true);
  passFullCurrentThrough(false);
