  * function or even in the data logger.
  */
 void LogData(){
+  if(bufferCounter >= 64) return;
   lightR = analogRead(lightSensorR);
   lightL = analogRead(lightSensorL);
   waterTemp = analogRead(waterTempSensor);

  lightLBuffer[0] = 1792;
  tempBuffer[0] = 1793;
  turbBuffer[0] = 1794;
  pHRBuffer[0] = 1795;
}

void loop() {

float lightR = 0.0;
float lightL = 0.0;
float waterTemp = 0.0;
float waterTurb = 0.0;
float waterPH = 0.0;

uint16_t lightRBuffer[64];
uint16_t lightLBuffer[64];
uint16_t tempBuffer[64];
uint16_t turbBuffer[64];
uint16_t pHBuffer[64];

uint8_t bufferCounter = 1;

