mirror of
https://github.com/esphome/esphome-docs.git
synced 2025-01-13 20:11:53 +01:00
MCP230xx open drain interrupt pins (#728)
This commit is contained in:
parent
9c85b69efd
commit
72db5038f6
@ -57,6 +57,9 @@ Configuration variables:
|
|||||||
- **id** (**Required**, :ref:`config-id`): The id to use for this MCP23008 component.
|
- **id** (**Required**, :ref:`config-id`): The id to use for this MCP23008 component.
|
||||||
- **address** (*Optional*, int): The I²C address of the driver.
|
- **address** (*Optional*, int): The I²C address of the driver.
|
||||||
Defaults to ``0x20``.
|
Defaults to ``0x20``.
|
||||||
|
- **open_drain_interrupt** (*Optional*, bool): Configure the interrupt pin to open-drain mode.
|
||||||
|
Useful when the MCP23008's power supply is greater than 3.3 volts. Note that this pin
|
||||||
|
will require a pull-up resistor (to 3.3 volts) when this mode is enabled.
|
||||||
|
|
||||||
.. _mcp23016-label:
|
.. _mcp23016-label:
|
||||||
|
|
||||||
@ -158,6 +161,9 @@ Configuration variables:
|
|||||||
- **id** (**Required**, :ref:`config-id`): The id to use for this MCP23017 component.
|
- **id** (**Required**, :ref:`config-id`): The id to use for this MCP23017 component.
|
||||||
- **address** (*Optional*, int): The I²C address of the driver.
|
- **address** (*Optional*, int): The I²C address of the driver.
|
||||||
Defaults to ``0x20``.
|
Defaults to ``0x20``.
|
||||||
|
- **open_drain_interrupt** (*Optional*, bool): Configure interrupt pins to open-drain mode.
|
||||||
|
Useful when the MCP23017's power supply is greater than 3.3 volts. Note that these pins
|
||||||
|
will require pull-up resistors (to 3.3 volts) when this mode is enabled.
|
||||||
|
|
||||||
|
|
||||||
See Also
|
See Also
|
||||||
|
Loading…
Reference in New Issue
Block a user