mirror of
https://github.com/esphome/esphome.git
synced 2026-09-29 16:00:23 +00:00
[i2s_audio] Remove legacy I2S driver support (#14932)
This commit is contained in:
@@ -1,16 +0,0 @@
|
||||
substitutions:
|
||||
i2s_bclk_pin: GPIO15
|
||||
i2s_lrclk_pin: GPIO4
|
||||
i2s_mclk_pin: GPIO5
|
||||
|
||||
<<: !include common.yaml
|
||||
|
||||
wifi:
|
||||
ssid: test
|
||||
password: test1234
|
||||
|
||||
media_player:
|
||||
- platform: i2s_audio
|
||||
name: Test Media Player
|
||||
dac_type: internal
|
||||
mode: stereo
|
||||
@@ -1,18 +1,18 @@
|
||||
wifi:
|
||||
ssid: MySSID
|
||||
password: password1
|
||||
|
||||
i2s_audio:
|
||||
i2s_lrclk_pin: 13
|
||||
i2s_bclk_pin: 14
|
||||
i2s_mclk_pin: 15
|
||||
|
||||
media_player:
|
||||
speaker:
|
||||
- platform: i2s_audio
|
||||
name: None
|
||||
dac_type: external
|
||||
id: test_speaker
|
||||
i2s_dout_pin: 18
|
||||
mute_pin: 19
|
||||
dac_type: external
|
||||
|
||||
media_player:
|
||||
- platform: speaker
|
||||
name: None
|
||||
speaker: test_speaker
|
||||
on_state:
|
||||
- media_player.play:
|
||||
- media_player.play_media: http://localhost/media.mp3
|
||||
|
||||
Reference in New Issue
Block a user