1
0
mirror of https://github.com/esphome/esphome.git synced 2025-09-01 19:02:18 +01:00

feat: Add support for MCP23016 IO Expander (#1012)

* feat: Add support for MCP23016 IO extander

* fix: Fix style
This commit is contained in:
Alex Reid
2020-04-12 15:07:10 -04:00
committed by GitHub
parent 835079ad43
commit c1dfed5c08
4 changed files with 230 additions and 0 deletions

View File

@@ -867,6 +867,13 @@ binary_sensor:
number: 7
mode: INPUT_PULLUP
inverted: False
- platform: gpio
name: "MCP23 binary sensor"
pin:
mcp23016: mcp23016_hub
number: 7
mode: INPUT
inverted: False
- platform: remote_receiver
name: "Raw Remote Receiver Test"
@@ -990,6 +997,13 @@ output:
number: 0
mode: OUTPUT
inverted: False
- platform: gpio
id: id25
pin:
mcp23016: mcp23016_hub
number: 0
mode: OUTPUT
inverted: False
- platform: my9231
id: my_0
channel: 0
@@ -1569,6 +1583,10 @@ mcp23008:
- id: 'mcp23008_hub'
address: 0x22
mcp23016:
- id: 'mcp23016_hub'
address: 0x23
stepper:
- platform: a4988
id: my_stepper