From f8f451f89200eb346f67ac86121603f194c5c77b Mon Sep 17 00:00:00 2001 From: Otto Winter Date: Tue, 26 Feb 2019 21:14:23 +0100 Subject: [PATCH] Document resolution parameter --- components/sensor/rotary_encoder.rst | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/components/sensor/rotary_encoder.rst b/components/sensor/rotary_encoder.rst index d70f709e8..3eb85b19d 100644 --- a/components/sensor/rotary_encoder.rst +++ b/components/sensor/rotary_encoder.rst @@ -47,6 +47,13 @@ Configuration variables: - **pin_reset** (*Optional*, :ref:`Pin Schema `): An optional pin that resets the step value. This is useful with rotary encoders that have have a third pin. Defaults to no reset pin. +- **resolution** (*Optional*, string): The resolution of the sensor, this controls how many + pulses are generated by one step: + + - 1 (default) + - 2 + - 4 + - **id** (*Optional*, :ref:`config-id`): Manually specify the ID used for code generation. - All other options from :ref:`Sensor `.