mirror of
https://github.com/esphome/esphome.git
synced 2025-03-29 22:18:12 +00:00
23 lines
449 B
YAML
23 lines
449 B
YAML
substitutions:
|
|
i2s_bclk_pin: GPIO15
|
|
i2s_lrclk_pin: GPIO16
|
|
i2s_mclk_pin: GPIO17
|
|
i2s_din_pin: GPIO33
|
|
|
|
i2s_audio:
|
|
i2s_bclk_pin: ${i2s_bclk_pin}
|
|
i2s_lrclk_pin: ${i2s_lrclk_pin}
|
|
i2s_mclk_pin: ${i2s_mclk_pin}
|
|
use_legacy: true
|
|
|
|
microphone:
|
|
- platform: i2s_audio
|
|
id: mic_id_external
|
|
i2s_din_pin: ${i2s_din_pin}
|
|
adc_type: external
|
|
pdm: false
|
|
- platform: i2s_audio
|
|
id: mic_id_adc
|
|
adc_pin: 32
|
|
adc_type: internal
|