1
0
mirror of https://github.com/esphome/esphome.git synced 2025-02-07 21:51:00 +00:00
2025-01-21 15:35:40 +13:00

17 lines
286 B
YAML

esphome:
on_boot:
then:
- audio_adc.set_mic_gain: 0db
- audio_adc.set_mic_gain: !lambda 'return 4;'
i2c:
- id: i2c_aic3204
scl: ${scl_pin}
sda: ${sda_pin}
audio_adc:
- platform: es7210
id: es7210_adc
bits_per_sample: 16bit
sample_rate: 16000