Document resolution parameter

This commit is contained in:
Otto Winter 2019-02-26 21:14:23 +01:00
parent 93e8194ec0
commit f8f451f892
No known key found for this signature in database
GPG Key ID: DB66C0BE6013F97E
1 changed files with 7 additions and 0 deletions

View File

@ -47,6 +47,13 @@ Configuration variables:
- **pin_reset** (*Optional*, :ref:`Pin Schema <config-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 <config-sensor>`.