   sensors.requestTemperatures();
   delayInMillis = 750 / (1 << (3)); 
   lastTempRequest = millis(); 
-  
-  // Drip sensor setup
-  digitalWrite (SENSOR, HIGH);  // internal pull-up resistor built in :-)
-  attachInterrupt (1, drop, RISING);  // attach interrupt handler  
 } 
 
 

    data += ",";
    data += casing_temperature;
    data += ",";
    data += drop_rate;
    data += ",";
    data += rpm;
    
    Serial.println (data);
    

{
  revolution_occured = true;
}  


///////////////////////////////////////////////////////////////////////////////////////////////////////////// 
//                                                 LOAD WASHER

int loadWasherPin = A0;
int analog_load_value = 0;
double load_in_lbs = 0;

//Insert Calibration Data Here: Level = AX + B format (rounded to the nearest integer N)
//X is the applied weight in lbs
//A is our linear rate in Arduino ADC levels / lbs
//B is our reference level as applied by the amplifyer circuit
double A_linear_rate = 0.01;
double B_reference_level = 483.854;

///////////////////////////////////////////////////////////////////////////////////////////////////////////// 
//                                                LEVEL SENSOR

boolean initialize = true;
int levelSensorPin = A1;
int analog_water_level = 0;
double water_level_cm = 0;
double flow_calc_water_level_cm = 0;
unsigned long calc_time_ms = 0;

double vesicle_diameter_cm = 11.43;//4.5 inch x 2.54 cm / inch
double vesicle_area_cm_2 = (3.14159) * (vesicle_diameter_cm / 2) * (vesicle_diameter_cm / 2);

//Insert Calibration Data Here: Level = AX + B format (rounded to the nearest integer N)
double A_water_rate = 11.96;
double B_water_reference_level = 327.45;

///////////////////////////////////////////////////////////////////////////////////////////////////////////// 
//                                                SOLENOID DRAIN VALVE


int solenoidValvePin = 14; //Pin controlling the valve
int drain_at_cm_level = 5; 
int close_valve_at_cm_level = 1;

boolean solenoid_valve_open = false;
double flow_rate_cc_per_min = 0;
double water_level_buffer; //The water level buffer is how much the water level should increase before calculating a new flow rate

///////////////////////////////////////////////////////////////////////////////////////////////////////////// 

void setup()
{
  Serial.begin(9600);   //Enable serial at high speed 
  
  // Tachometer setup
  pinMode(solenoidValvePin,OUTPUT);
  digitalWrite (TACH, HIGH);  // internal pull-up resistor built in :-)
  attachInterrupt (0, revolution, RISING);  // attach interrupt handler for tachometer
  
