Seeed-Studio / ArduinoCore-samd

47 stars 26 forks source link

I2S not working #45

Closed VikoTodorov closed 3 years ago

VikoTodorov commented 3 years ago

Hi, I encounter some strange error, when I try to compile a sketch with I2S library it gives me '#error "I2S is not supported on your board!" ', which is a defined error in the .h file of the lib, but I'm using Seeeduino LoRaWAN, which is based on Arduino Zero, and it uses SAMD21D controller, which supports I2S, so I think this is a bug in the code.

Best regards, Viktor

Theremingenieur commented 3 years ago

Same for the Seeeduino XIAO, where some I2S related defines are wrong/missing in the variant.h file... :(

Pillar1989 commented 3 years ago

Please refer this repo to use I2S. https://github.com/Seeed-Studio/Seeed_Arduino_Audio