 		sgp_read();
 	}
 
-	counter++;
-	if (counter == 100) {
-		counter = 10;
-	}
-
 	delay(5000); // wait 5 seconds for the next I2C scan
 }
 


		uint16_t TVOC_base, eCO2_base;
		if (! sgp.getIAQBaseline(&eCO2_base, &TVOC_base)) {
			Serial.println("Failed to get baseline readings");
			return;
		}
		Serial.print("****Baseline values: eCO2: 0x"); Serial.print(eCO2_base, HEX);
		Serial.print(" & TVOC: 0x"); Serial.println(TVOC_base, HEX);
	}
}


const int TMP116_temp_reg   = 0x00;  // Temperature register
const int TMP116_config_reg = 0x01;  // Configuration register

int counter=1000;

bool has_bme = true;
bool has_sgp = true;
