Mercurial > personal > weatherlog
changeset 28:e5f285ea68f8 v0.4.1
lol sampling not oversampling
author | Paul Fisher <paul@pfish.zone> |
---|---|
date | Sun, 02 Mar 2025 19:37:35 -0500 |
parents | 0ffe7f97acdb |
children | fceebb462380 |
files | weatherlog/reader.py |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/weatherlog/reader.py Sun Mar 02 19:34:22 2025 -0500 +++ b/weatherlog/reader.py Sun Mar 02 19:37:35 2025 -0500 @@ -36,7 +36,7 @@ def read(self) -> types.Reading: reading = bme280.sample( self.bus, self.address, self.calibration, - oversampling=bme280.oversampling.x4) + sampling=bme280.oversampling.x4) return types.Reading.from_now( temp_c=reading.temperature, rh_pct=reading.humidity,