Skip to content

Commit 000f9ac

Browse files
Charly-sketchnedseb
authored andcommitted
docs: Clarify AVG configuration on wsen-hids readme.
1 parent 6455bcb commit 000f9ac

1 file changed

Lines changed: 13 additions & 2 deletions

File tree

lib/wsen-hids/README.md

Lines changed: 13 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -186,7 +186,7 @@ sensor.set_one_shot_mode()
186186

187187
# Averaging Configuration
188188

189-
Configure internal measurement averaging:
189+
Configure internal measurement averaging for **temperature and humidity**:
190190

191191
```python
192192
sensor.set_average(avg_t=WSEN_HIDS.AVG_16, avg_h=WSEN_HIDS.AVG_16)
@@ -205,7 +205,18 @@ AVG_128
205205
AVG_256
206206
```
207207

208-
Higher averaging improves noise performance but increases conversion time.
208+
**Defaults:**
209+
210+
```python
211+
AVG_T_DEFAULT = AVG_16
212+
AVG_H_DEFAULT = AVG_16
213+
```
214+
215+
**Notes:**
216+
217+
* The same averaging constants (`AVG_*`) are used for both temperature and humidity
218+
* Internally, temperature and humidity are configured in separate registers, but they share identical averaging values
219+
* Higher averaging improves noise performance but increases conversion time
209220

210221
---
211222

0 commit comments

Comments
 (0)