i2s changes in esp8266 Arduino v3

241 views
Skip to first unread message

Andrew Brown

unread,
Jul 20, 2021, 9:48:40 PM7/20/21
to Mozzi-users
When updating to the current esp8266 Arduino libraries, calls to i2s.h (lower case) have been deprecated, so Mozzi code won't compile. The 'solution' seems to be to use upper case I2S.h - https://github.com/esp8266/Arduino/pull/8108 - however, while this compiles it seems to point to a different library with different API calls, resulting in no audio.

Has anyone found a solution to this they can share? Or am I missing soemthing?

Cheers, Andrew

Andrew Brown

unread,
Oct 26, 2021, 2:04:02 AM10/26/21
to Mozzi-users
It looks like adding these imports below to the file allows Mozzi to compile on version 3 of the ESP8266 Arduino board libraries.

#include <Arduino.h>
#include <I2S.h>
#include <MozziGuts.h>

Reply all
Reply to author
Forward
0 new messages