       Serial.println("km away!"); 
     }
   }
-  delay(100);
+
+  delay(5000); // wait 5 seconds for the next I2C scan
 }
 
 void thunder_init()

int AS3935_noise = 2; // Value between 1-7 
int AS3935_disturber = 2; // Value between 1-10

void setup()
{
  Serial.begin(57600);

  SPI.setDataMode( SPI_MODE1 );

  thunder_init();

  Wire.begin();

  tmp116_init();
}

void loop()
{
  double temp = TMP116_ReadTempSensor();

  Serial.println(temp);
  
  if(digitalRead(AS3935_INT) == HIGH){
    AS3935_intVal = lightning.readInterruptReg();
    if(AS3935_intVal == AS3935_NOISE_INT){
