Zum Hauptinhalt springen

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.