         }
         break;
       }
-      case 'P':
-      {
-        //Lets read in our parameters and spit out the info!
-         eeprom_read_block(&params, (void *)0, sizeof(params));
-         Serial.print("pH 7 cal: ");
-         Serial.print(params.pH7Cal);
-         Serial.print(" | ");
-         Serial.print("pH 4 cal: ");
-         Serial.print(params.pH4Cal);
-         Serial.print(" | ");
-         Serial.print("pH probe slope: ");
-         Serial.print(params.pHStep);
-         Serial.print(" | ");
-         Serial.print("pH: ");
-         Serial.println(pH);
-         break;
-      }
-      case 'C':
-      {
-        //Which range?
-        int calrange;
-        calrange = Serial.parseInt();
-        if( calrange == 4 ) calibratepH4(adc_result);
-        if( calrange == 7 ) calibratepH7(adc_result);
-        break;
-      }
     }
 }
 

time_t tDelayMin = measureInterval;

// Sensor data
int sensorTempData[] = {0,0,0,0,0}; // temp, humid, light, ph, phTwoDecPlaces

void setup() {
  Wire.begin();       // conects I2C

{
  dhtSensor();
  lightSensor();
}

void lightSensor()
{
