Skip to content

Commit

Permalink
add adc/sampling_mode doc
Browse files Browse the repository at this point in the history
  • Loading branch information
blind-oracle authored and jesserockz committed Feb 10, 2025
1 parent 3d528db commit 429dace
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions components/sensor/adc.rst
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@ Configuration variables:
attenuation to use. See :ref:`adc-esp32_attenuation`. Defaults to ``0db``.
- **raw** (*Optional*): Allows to read the raw ADC output without any conversion or calibration. See :ref:`adc-raw`. Defaults to ``false``.
- **samples** (*Optional*): The amount of ADC readings to take per sensor update. On the ESP32 this value is ignored if ``attenuation`` is set to ``auto``. Defaults to ``1``.
- **sampling_mode** (*Optional*): Sampling method to use when multiple samples are taken. Can be ``avg`` (average of all samples), ``min`` (minimal value from all samples), ``max`` (maximal value from all samples). Defaults to ``avg``.
- **update_interval** (*Optional*, :ref:`config-time`): The interval
to check the sensor. Defaults to ``60s``.
- All other options from :ref:`Sensor <config-sensor>`.
Expand Down

0 comments on commit 429dace

Please sign in to comment.