mirror of
https://github.com/esphome/esphome.git
synced 2024-12-30 17:31:43 +01:00
32 lines
538 B
YAML
32 lines
538 B
YAML
|
i2c:
|
||
|
- id: i2c_mcp4728
|
||
|
scl: 5
|
||
|
sda: 4
|
||
|
|
||
|
mcp4728:
|
||
|
- id: mcp4728_dac
|
||
|
|
||
|
output:
|
||
|
- platform: mcp4728
|
||
|
id: mcp4728_dac_output_a
|
||
|
channel: A
|
||
|
vref: vdd
|
||
|
power_down: normal
|
||
|
- platform: mcp4728
|
||
|
id: mcp4728_dac_output_b
|
||
|
channel: B
|
||
|
vref: internal
|
||
|
gain: X1
|
||
|
power_down: gnd_1k
|
||
|
- platform: mcp4728
|
||
|
id: mcp4728_dac_output_c
|
||
|
channel: C
|
||
|
vref: vdd
|
||
|
power_down: gnd_100k
|
||
|
- platform: mcp4728
|
||
|
id: mcp4728_dac_output_d
|
||
|
channel: D
|
||
|
vref: internal
|
||
|
gain: X2
|
||
|
power_down: gnd_500k
|