1
0
mirror of https://github.com/esphome/esphome.git synced 2025-09-01 10:52:19 +01:00

[audio_adc] Add new `audio_adc` component (#8094)

This commit is contained in:
Keith Burzinski
2025-01-20 20:35:40 -06:00
committed by GitHub
parent c3d00b45f7
commit 576dbd6f0c
10 changed files with 200 additions and 101 deletions

View File

@@ -1,6 +1,16 @@
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}
es7210:
audio_adc:
- platform: es7210
id: es7210_adc
bits_per_sample: 16bit
sample_rate: 16000