Function for calculating the sea level pressure from the local pressure and altitude added. I've taken it from the Adafruit BMP085 Unified Library. I think that this library should also be able to do this calculation as the only difference of the two sensors is that the BME280 can additionally measure humidity.
Function for calculating the sea level pressure from the local pressure and altitude added. I've taken it from the Adafruit BMP085 Unified Library. I think that this library should also be able to do this calculation as the only difference of the two sensors is that the BME280 can additionally measure humidity.