mirror of
https://github.com/esphome/esphome.git
synced 2024-11-10 09:17:46 +01:00
31 lines
540 B
YAML
31 lines
540 B
YAML
i2c:
|
|
- id: i2c_mcp4728
|
|
scl: 16
|
|
sda: 17
|
|
|
|
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
|