Open littleyoda opened 4 months ago
Same issue here!
with the following change you can at least compile it. However, I have not yet checked whether sharing the PIN makes sense.
spi:
- id: spi_tft
clk_pin: GPIO14
mosi_pin: GPIO13
miso_pin: GPIO12
- id: spi_touch
clk_pin:
number: GPIO25
allow_other_uses: true
mosi_pin: GPIO32
miso_pin: GPIO39
i2s_audio:
i2s_lrclk_pin:
number: GPIO25
allow_other_uses: true
i2s_bclk_pin: GPIO26
Thanks a lot!
I replace GPIO25 with GPIO27 and i can compile the code also.
However i just hear noise through the speaker. I don't know if it is the yaml configuration, the speaker, or the GPIO... any help?
I tried both ways with no luck. I also tried with different speaker.
Has anyone achieve to connect and use a speaker with esphome?
https://github.com/witnessmenow/ESP32-Cheap-Yellow-Display/tree/main/Examples/ESPHome/6-VariousFeatures
I'm unable to compile the ESPHome example. The Pin 25 is used in multiple places. (spi_touch/clk_pin and i2s_audio/i2s_bclk_pin)