readAltitude()
Calculates the altitude (in meters) from the specified atmospheric pressure (in hPa), and sea-level pressure (in hPa). bpm.readAltitude(seaLevel)bpm: a variable of type BMP280.
seaLevel: Sea-level pressure in hPa.
float - the altitude value read from the device