         PinState = digitalRead(ClockPin);  //get stuck until clock changes
         
         if ((millis() - time_check) >= 2000){//Haha, let's NOT get stuck if the thing is unplugged
-          Serial.println("ir_cl_sync_error");
+          //Serial.println("ir_cl_sync_error");
           break;
         }
       }while(PinState != 1);

   }


  //Calculate the flow rate
   if (solenoid_valve_open == false){ 
    if (water_level_cm >= (flow_calc_water_level_cm + water_level_buffer)){
      //Serial.println("CALCULATION TRIGGERED!");

//+3.3V Fluid Leve
/////////////////////////////////////////////////////////////////////////////////////////////////////////////
//                                            Analog smoothing
const int number_of_readings = 25; //Increases the size of global variables big time. Can be be managed in case we run into memory issues
int analog_index = 0;

float smoothing(const int* numb_readings, float* total_sum,
