Working ESPHome YAML for M5StickC

Hi @mcsquared88, like @JJordan, I’m also interested in integration of the mic in esphome. As a reference I’ve found that ESPHome Voice Assistant - #40 by ChrisThomas has gotten this combination to work but M5StickC seems like a nicer option

i2s_audio:
  i2s_lrclk_pin: GPIO15

microphone:
  - platform: i2s_audio
    id: mic
    bits_per_sample: 32bit
    adc_type: external
    i2s_din_pin: GPIO13
    channel: right
    pdm: true