   film_sensor();
 
 
+    int i;
   if (millis() - last_print_time >= PRINT_DELAY){
-    
+
+
     rpm_calculation();
     flow_rate();
     shaft_temp();

int close_valve_at_cm_level = 5; //2 inches

boolean solenoid_valve_open = false;
String flow_rate_cc_per_sec = "0.0";
float water_level_buffer=1; //The water level buffer is how much the water level should increase before calculating a new flow rate

void solenoid_drain_valve(){

    int tempData = 0;
    data_read(data_buf);
    tempData = data_buf[1]*256 + data_buf[2];
    shaftTemp = (float)tempData/16-273.15;
}


