MCP23017 expander
MCP23017 expander
I2C expander used in relay boards. You likely must have this configured. By default one relay board has 2 MCP23017 installed.
If you use boneio: configuration, then you don't need to configure this!
Example config
mcp23017:
- id: mcp1
address: 0x20
- id: mcp2
address: 0x21Configuration variables:
- id (Required, string) - ID to use. It's internal usage only, but you need to define it so you can define output pins properly.
- address (Required, string) - I2C address of the device
- init_sleep (Optional, timeperiod, default: 0s) - how long to wait for MCP23017 to respond. Some MCP23017 has delay during initializing. This option will wait for X second for device to respond.