mirror of
https://github.com/esphome/esphome.git
synced 2025-04-15 07:10:33 +01:00
Add tests for mcp4461 component
This commit is contained in:
parent
051fa3a49f
commit
074ac7b25c
28
tests/components/mcp4461/test.esp32-ard.yaml
Normal file
28
tests/components/mcp4461/test.esp32-ard.yaml
Normal file
@ -0,0 +1,28 @@
|
||||
i2c:
|
||||
- id: i2c_mcp4461
|
||||
sda: 16
|
||||
scl: 17
|
||||
|
||||
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
|
28
tests/components/mcp4461/test.esp32-c3-ard.yaml
Normal file
28
tests/components/mcp4461/test.esp32-c3-ard.yaml
Normal file
@ -0,0 +1,28 @@
|
||||
i2c:
|
||||
- id: i2c_mcp4461
|
||||
sda: 4
|
||||
scl: 5
|
||||
|
||||
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
|
28
tests/components/mcp4461/test.esp32-c3-idf.yaml
Normal file
28
tests/components/mcp4461/test.esp32-c3-idf.yaml
Normal file
@ -0,0 +1,28 @@
|
||||
i2c:
|
||||
- id: i2c_mcp4461
|
||||
sda: 4
|
||||
scl: 5
|
||||
|
||||
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
|
28
tests/components/mcp4461/test.esp32-idf.yaml
Normal file
28
tests/components/mcp4461/test.esp32-idf.yaml
Normal file
@ -0,0 +1,28 @@
|
||||
i2c:
|
||||
- id: i2c_mcp4461
|
||||
sda: 16
|
||||
scl: 17
|
||||
|
||||
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
|
28
tests/components/mcp4461/test.esp8266-ard.yaml
Normal file
28
tests/components/mcp4461/test.esp8266-ard.yaml
Normal file
@ -0,0 +1,28 @@
|
||||
i2c:
|
||||
- id: i2c_mcp4461
|
||||
sda: 4
|
||||
scl: 5
|
||||
|
||||
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
|
Loading…
x
Reference in New Issue
Block a user