-
Notifications
You must be signed in to change notification settings - Fork 6
BM1383GLV Class
-
Public member variables:
-
float BM1383GLV::pPressure in hPa.
-
-
Public member functions:
-
BM1383GLV::BM1383GLV(uint8_t address)The default constructor.address = BM1383GLV_DEVICE_ADDRESSDefault value, the default I2C address. -
uint8_t BM1383GLV::init(uint8_t mode, uint8_t avg, uint8_t tempAvg)The initialization function. Returns 0 on successful initialization, 1 on failure.mode = BM1383GLV_CONTINUOUS_200_MSDefault value, continuous measurement mode over 200 ms.
mode = BM1383GLV_<mode_name>Other possible measurement modes, see/sensors/BM1383GLV.cppfor details.
avg = BM1383GLV_AVERAGE_64Default value, the output value will be an average of 64 measurements.
avg = BM1383GLV_AVERAGE_<n>Other possible averaging values, see/sensors/BM1383GLV.cppfor details. -
uint8_t BM1383GLV::measure(void)The measurement function. Returns 0 if the public measurement variable was successfully updated, 1 if not.
-