Skip to content

Conversation

@ncravino
Copy link
Contributor

@ncravino ncravino commented Jan 2, 2026

The include of "i2s.h" (lower case) will make compilation fail on esp8266.

The necessary include "I2S.h" (upper case) is already on line 43.

Removing the i2s.h (lower case) will build and work with i2s for both PDM and DAC cases.

For MOZZI_AUDIO_MODE = MOZZI_OUTPUT_PDM_VIA_I2S:

  • Tested with WeMos D1 using RX (I2S output)

For MOZZI_AUDIO_MODE = MOZZI_OUTPUT_I2S_DAC:

  • Tested with Wemos D1 + PCM5102 I2S board, using IO15->BC(L)K, RX->DIN, IO02->L(R)CK.

The import of the lower case include will make compilation fail. The necessary include "I2S.h" (upper case) is already on line 43.
@tomcombriat
Copy link
Collaborator

Hello,
Thanks for this! I am happy to merge shortly if @sensorium and @tfry-git do not have anything against that.

@sensorium
Copy link
Owner

great! thanks for the fix.

@tomcombriat tomcombriat merged commit 3bf2959 into sensorium:master Jan 5, 2026
12 of 13 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants