MicroPython Library
The Soldered BME280 MicroPython Library is one file, bme280.py, with one class
inside it, BME280. Import it, create the sensor object, and read the values.
The module hides the same work the Arduino library hides: the constructor reads the sensor's factory calibration registers and configures the measurement, so every read function returns a finished number in its unit. There is no address to set either, because this board always answers at 0x76.
On an ESP32 or ESP8266 board, and on the Soldered Dasduino CONNECTPLUS, create the sensor with no arguments and the module uses its own default I2C pins. On any other board, pass in your own I2C object, which is also how you move the sensor to a different bus or different pins.
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.