Playing wav files on Hallowing M0
Moderators: adafruit_support_bill, adafruit
Please be positive and constructive with your questions and comments.
- OG2617
- Posts: 19
- Joined: Sun Sep 11, 2022 3:52 pm
Playing wav files on Hallowing M0
I did not get a response to my last post so thought I would ask a simpler way. Your promo for this device says, "The extra 8 MB of SPI Flash is great for sound effects projects where you want to play up to 3 minutes of WAV files." So, can I do this using Arduino IDE? If so, can you provide sample code?
- mikeysklar
- Posts: 14182
- Joined: Mon Aug 01, 2016 8:10 pm
Re: Playing wav files on Hallowing M0
Checkout the Adafruit ZeroI2S library.
https://github.com/adafruit/Adafruit_ZeroI2S
An amp example with wiring and code is provided here using this library:
https://learn.adafruit.com/adafruit-i2s ... iring-test
https://github.com/adafruit/Adafruit_ZeroI2S
An amp example with wiring and code is provided here using this library:
https://learn.adafruit.com/adafruit-i2s ... iring-test
Please be positive and constructive with your questions and comments.