esphome/tests/components/mcp4728/test.esp32-ard.yaml

32 lines
540 B
YAML
Raw Permalink Normal View History

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