OpenRoadCode
Public API reference for OpenRoadCode
Loading...
Searching...
No Matches
hardware_io.environmental.bmp390.Bmp390 Class Reference

BMP390-compatible name for the shared BMP3XX implementation. More...

Inheritance diagram for hardware_io.environmental.bmp390.Bmp390:
hardware_io.environmental.bmp3xx.Bmp3xx hardware_io.environmental.barometric_sensor_if.BarometricSensorIf

Additional Inherited Members

- Public Member Functions inherited from hardware_io.environmental.bmp3xx.Bmp3xx
None __init__ (self, int address=DEFAULT_ADDRESS, Any|None i2c=None)
 Create a BMP3XX sensor.
 
bool is_started (self)
 Return whether the sensor has been initialized.
 
int address (self)
 Return the configured I2C address.
 
None start (self)
 Initialize the I2C bus and BMP3XX sensor.
 
None stop (self)
 Release resources owned by the sensor.
 
float get_pressure_pa (self)
 Return atmospheric pressure in pascals.
 
float get_temperature_c (self)
 Return sensor temperature in degrees Celsius.
 

Detailed Description

BMP390-compatible name for the shared BMP3XX implementation.


The documentation for this class was generated from the following file: