Open mcl-uk opened 3 months ago
Hello
Guess pin 2 is wrong. In the pin description GPIO 26 is mentioned to be the correct pin for I2S_DAC_CHANNEL_LEFT_EN.
https://github.com/witnessmenow/ESP32-Cheap-Yellow-Display/blob/main/PINS.md
Boris
Thanks for your response. Sadly this doesn't work, still no signal at the spkr pins. If I add the line "i2s_set_dac_mode(I2S_DAC_CHANNEL_LEFT_EN);" to the code I get an undefined error for i2s_set_dac_mode. Be grateful for any other ideas.
This error is because your esp32 board files are too new. Latest working board definitions are 2.0.17. Anything newer that this version does not work with ESP32-audioI2S library that is used in HelloRadio example
I'm getting an "I2S_DAC_CHANNEL_LEFT_EN undefined" error when comiling this example sketch. I tried #defining this to 2 (found a reference to it in a legacy h file) and now the sketch compiles and runs seemingly correctly but I get no audio out from the CYD's spkr port. Has anyone found a way to get this example to work? Thanks for reading this far.