mirror of
https://github.com/randybb/esphome-configs.git
synced 2026-01-02 11:37:28 +01:00
have fun
This commit is contained in:
28
components/pca9536d/README.md
Normal file
28
components/pca9536d/README.md
Normal file
@@ -0,0 +1,28 @@
|
||||
# PCA9536D i2c I/O expander
|
||||
|
||||
Requires a configured i2c bus
|
||||
|
||||
Example:
|
||||
```yaml
|
||||
pca9536d:
|
||||
- id: my_pca
|
||||
|
||||
switch:
|
||||
- platform: gpio
|
||||
pin:
|
||||
pca9536d: my_pca
|
||||
number: 0
|
||||
id: relay
|
||||
|
||||
binary_sensor:
|
||||
- platform: gpio
|
||||
pin:
|
||||
pca9536d: my_pca
|
||||
number: 1
|
||||
id: button
|
||||
```
|
||||
|
||||
# Optional parameters
|
||||
|
||||
`address:` defaults to 0x41
|
||||
|
||||
Reference in New Issue
Block a user