1
0
mirror of https://github.com/esphome/esphome.git synced 2025-03-15 07:08:20 +00:00

Merge pull request #21 from p1ngb4ck/mcp4461_dev

Mcp4461 dev
This commit is contained in:
Oliver Kleinecke 2025-02-20 14:08:38 +01:00 committed by GitHub
commit 26ebea2de3
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
6 changed files with 48 additions and 135 deletions

View File

@ -0,0 +1,28 @@
i2c:
- id: i2c_mcp4461
scl: ${scl_pin}
sda: ${sda_pin}
mcp4461:
- id: mcp4461_digipot_01
output:
- platform: mcp4461
id: digipot_wiper_1
mcp4461_id: mcp4461_digipot_01
channel: A
- platform: mcp4461
id: digipot_wiper_2
mcp4461_id: mcp4461_digipot_01
channel: B
- platform: mcp4461
id: digipot_wiper_3
mcp4461_id: mcp4461_digipot_01
channel: C
- platform: mcp4461
id: digipot_wiper_4
mcp4461_id: mcp4461_digipot_01
channel: D

View File

@ -1,28 +1,5 @@
i2c: substitutions:
- id: i2c_mcp4461 scl_pin: GPIO16
sda: 16 sda_pin: GPIO17
scl: 17
mcp4461: <<: !include common.yaml
- id: mcp4461_digipot_01
output:
- platform: mcp4461
id: digipot_wiper_1
mcp4461_id: mcp4461_digipot_01
channel: A
- platform: mcp4461
id: digipot_wiper_2
mcp4461_id: mcp4461_digipot_01
channel: B
- platform: mcp4461
id: digipot_wiper_3
mcp4461_id: mcp4461_digipot_01
channel: C
- platform: mcp4461
id: digipot_wiper_4
mcp4461_id: mcp4461_digipot_01
channel: D

View File

@ -1,28 +1,5 @@
i2c: substitutions:
- id: i2c_mcp4461 scl_pin: GPIO4
sda: 4 sda_pin: GPIO5
scl: 5
mcp4461: <<: !include common.yaml
- id: mcp4461_digipot_01
output:
- platform: mcp4461
id: digipot_wiper_1
mcp4461_id: mcp4461_digipot_01
channel: A
- platform: mcp4461
id: digipot_wiper_2
mcp4461_id: mcp4461_digipot_01
channel: B
- platform: mcp4461
id: digipot_wiper_3
mcp4461_id: mcp4461_digipot_01
channel: C
- platform: mcp4461
id: digipot_wiper_4
mcp4461_id: mcp4461_digipot_01
channel: D

View File

@ -1,28 +1,5 @@
i2c: substitutions:
- id: i2c_mcp4461 scl_pin: GPIO4
sda: 4 sda_pin: GPIO5
scl: 5
mcp4461: <<: !include common.yaml
- id: mcp4461_digipot_01
output:
- platform: mcp4461
id: digipot_wiper_1
mcp4461_id: mcp4461_digipot_01
channel: A
- platform: mcp4461
id: digipot_wiper_2
mcp4461_id: mcp4461_digipot_01
channel: B
- platform: mcp4461
id: digipot_wiper_3
mcp4461_id: mcp4461_digipot_01
channel: C
- platform: mcp4461
id: digipot_wiper_4
mcp4461_id: mcp4461_digipot_01
channel: D

View File

@ -1,28 +1,5 @@
i2c: substitutions:
- id: i2c_mcp4461 scl_pin: GPIO16
sda: 16 sda_pin: GPIO17
scl: 17
mcp4461: <<: !include common.yaml
- id: mcp4461_digipot_01
output:
- platform: mcp4461
id: digipot_wiper_1
mcp4461_id: mcp4461_digipot_01
channel: A
- platform: mcp4461
id: digipot_wiper_2
mcp4461_id: mcp4461_digipot_01
channel: B
- platform: mcp4461
id: digipot_wiper_3
mcp4461_id: mcp4461_digipot_01
channel: C
- platform: mcp4461
id: digipot_wiper_4
mcp4461_id: mcp4461_digipot_01
channel: D

View File

@ -1,28 +1,5 @@
i2c: substitutions:
- id: i2c_mcp4461 scl_pin: GPIO4
sda: 4 sda_pin: GPIO5
scl: 5
mcp4461: <<: !include common.yaml
- id: mcp4461_digipot_01
output:
- platform: mcp4461
id: digipot_wiper_1
mcp4461_id: mcp4461_digipot_01
channel: A
- platform: mcp4461
id: digipot_wiper_2
mcp4461_id: mcp4461_digipot_01
channel: B
- platform: mcp4461
id: digipot_wiper_3
mcp4461_id: mcp4461_digipot_01
channel: C
- platform: mcp4461
id: digipot_wiper_4
mcp4461_id: mcp4461_digipot_01
channel: D