-
Notifications
You must be signed in to change notification settings - Fork 189
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Compile error in Basics/HelloRadio.ino example #216
Comments
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. |
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.
The text was updated successfully, but these errors were encountered: