 float get_light_level()
 {
   float operatingVoltage = analogRead(REFERENCE_3V3);
-
   float lightSensor = analogRead(LIGHT);
-
   operatingVoltage = 3.3 / operatingVoltage; //The reference voltage is 3.3V
-
   lightSensor = operatingVoltage * lightSensor;
-
   return(lightSensor);
 }
 

  minutes_10m = gps.time.minute();
  seconds = gps.time.second();
  lastSecond = millis();
  //Serial.println("");
  //Serial.println(minutes);
  //Serial.println(minutes_5m);  
  //Serial.println(minutes_10m);
  //Serial.println(seconds);
  //Serial.println(lastSecond);
  // attach external interrupt pins to IRQ functions
  attachInterrupt(0, rainIRQ, FALLING);
  attachInterrupt(1, wspeedIRQ, FALLING);

  //Calc windspeed
  float windspeedms = get_wind_speed();

  //Calc windspdms_avg2m
  float temp = 0;
  for(int i = 0 ; i < 120 ; i++)
