
Prints the current air pressure.
Serial.print(bmp280.calcAltitude(pressure));
Description:
Takes the pressure value can convert to altitude.
Syntax:
bmp280.calcAltitude(
float). Return type: float
Parameter:
float: Pressure value.
Prints the amplitude.
Demo Effect and Serial Print Result:
The Air pressure readings are display on the Serial Monitor.
Breakout Guide
Use Grove cable to connect Grove 3-axis Accelerometer to Seeeduino Lotus’s
I2C interface
using a Grove cable (note: I2C default address is 0x77 or 0x76).
54
Grove Beginner Kit For Arduino
®