Update for multiple cd74hc4067 (#1833)

This commit is contained in:
Jesse Hills 2022-01-22 19:33:20 +13:00 committed by GitHub
parent c1322525ed
commit bb18559af9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 23 additions and 20 deletions

View File

@ -22,6 +22,7 @@ Each cd74hc4067 sensor is configured for one of the 16 input pins of the multipl
# Example configuration entry
cd74hc4067:
- id: cd74hc4067_1
pin_s0: D0
pin_s1: D1
pin_s2: D2
@ -56,6 +57,7 @@ Configuration Variables:
************************
- **sensor** (**Required**, :ref:`config-id`): The source sensor to measure voltage values from, e.g. :doc:`ADC sensor <adc>`.
- **cd74hc4067_id** (**Required**, :ref:`config-id`): The id of the cd74hc4067 component to use for this sensor.
- **number** (*Required*, int): The number of the cd74hc4067 input pin (0-15)
- All other options from :ref:`Sensor <config-sensor>`.
@ -72,6 +74,7 @@ The ``adc`` and ``cd74hc4067`` sensors updates are triggered by the ``ct_clamp``
.. code-block:: yaml
cd74hc4067:
- id: cd74hc4067_1
pin_s0: D0
pin_s1: D1
pin_s2: D2