From cd1c2ef7d3a64ed22d528f2dd0fa16a33d3a14bc Mon Sep 17 00:00:00 2001 From: Jack Burdick Date: Tue, 8 Dec 2020 17:28:35 -0800 Subject: [PATCH] Correct unit The unit returned by the device is hPa not Pa -- based on my device output and information on https://learn.adafruit.com/adafruit-bmp388-bmp390-bmp3xx/python-circuitpython --- adafruit_bmp3xx.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/adafruit_bmp3xx.py b/adafruit_bmp3xx.py index 741d7cd..661b36a 100644 --- a/adafruit_bmp3xx.py +++ b/adafruit_bmp3xx.py @@ -193,7 +193,7 @@ def _read(self): pressure = po1 + po2 + pd4 - # pressure in Pa, temperature in deg C + # pressure in hPa, temperature in deg C return pressure, temperature def _read_coefficients(self):