MicroPython Library
The bmp585 module talks to the sensor over I2C. Create a BMP585 object with
a machine.I2C bus: the constructor starts the sensor in NORMAL mode, and
raises an exception if it cannot reach it. Then call get_sensor_data() and
read sensor.data.pressure (Pa) and sensor.data.temperature (°C). Every other
method stores its result in sensor.status, and status_string() says what
went wrong.
Not installed yet? Follow Quick Start before using the functionality pages.
Functionality
Each page starts with one verified module example and explains every function the example uses to get that result.
MicroPython exampleRead pressure and temperaturebmp585-basicReadings.py: print pressure and temperature ten times a second in NORMAL mode.MicroPython exampleRead on the data-ready interruptbmp585-dataReadyInterrupt.py: read only when the sensor's INT pin signals a new measurement.MicroPython exampleSingle readings in forced modebmp585-forcedModeCustomConfig.py: 1x oversampling, no IIR filter, one forced measurement per second.