Can't get Sound to work on M5Stack Core2
-
I have found and tried about 8 different Arduino code examples to get sound (tone) out of the M5Core2 speaker but nothing works and I'm wondering if someone can help me.
I found an example that uses M5Unified.h that works (speaker tone output), but the M5Core2.h is NOT compatible with the M5Unified.h.
I found another "Core2_Sounds.h" that shows promise in that it compiles and downloads, but I get a continuous crash dump to the Serial Monitor.
https://github.com/Hagtronics/M5Stack-Core2/tree/main/Sound/Lib/Core2_SoundsThere is the "Example":
https://github.com/m5stack/M5-ProductExampleCodes/blob/master/Core/M5Core2/Arduino/speak/speak.ino
but I keep getting an error saying that the "driver/i2s.h" is deprecated and won't compile, even with the replacements that are suggested.I'm at my wits end...
Does anyone have an example that works with the M5Core2.h and perhaps another library?Sir Michael
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login