You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm using your "internalDAC.ino" example in my project with an ESP32 Lonin32. It was working great until around May 2024, when I compile the schetch now it gives the following error:
error: 'I2S_DAC_CHANNEL_BOTH_EN' was not declared in this scope
11 | Audio audio(true, I2S_DAC_CHANNEL_BOTH_EN);
If I take away the I2S_DAC_CHANNEL_BOTH_EN and just use Audio audio(true); it compiles but then the DAC is not initialized and there is no audio output.
What am I missing?
Regards
The text was updated successfully, but these errors were encountered:
You must be using Arduino V3...
The last working version is V2.0.17. Arduino V3 uses the IDF V5.1 which according to the I2S specification no longer supports the internal DAC.
I'm using your "internalDAC.ino" example in my project with an ESP32 Lonin32. It was working great until around May 2024, when I compile the schetch now it gives the following error:
error: 'I2S_DAC_CHANNEL_BOTH_EN' was not declared in this scope
11 | Audio audio(true, I2S_DAC_CHANNEL_BOTH_EN);
If I take away the I2S_DAC_CHANNEL_BOTH_EN and just use Audio audio(true); it compiles but then the DAC is not initialized and there is no audio output.
What am I missing?
Regards
The text was updated successfully, but these errors were encountered: