Using BMP280 sensor to control servos. Need some guidance with coding

Testing the barometer's altitude requires a comparison with the threshold:

if (bmp.readAltitude(1013.25) > -14.5)