Again, the basic example from the library should work as is without any code changes. This is no different than what the BME280 primary guide has you do here:

With the example running, the output should look like this:

Auto-reload is on. Simply save files over USB to run them or enter REPL to disable. output:

Temperature: 19.3 C
Humidity: 46.9 %
Pressure: 1014.0 hPa
Altitude = -6.30 meters

Temperature: 19.3 C
Humidity: 46.8 %
Pressure: 1014.0 hPa
Altitude = -6.17 meters

This guide was first published on May 04, 2022. It was last updated on Jun 20, 2024.

This page (CircuitPython) was last updated on Mar 08, 2024.

Text editor powered by tinymce.