arduino / ArduinoCore-samd

Arduino Core for SAMD21 CPU
GNU Lesser General Public License v2.1
475 stars 722 forks source link

I2S.h Doesn't compile correctly on Arduino M0 and M0+ #239

Closed eljefedelrodeodeljefe closed 7 years ago

eljefedelrodeodeljefe commented 7 years ago

Hi, I can't seem to make the i2s library and it's example run for the the above mentioned boards, running into:

InputSerialPlotter:32: error: 'I2S' was not declared in this scope

Can you advise? Are the boards supported?

AidenRay commented 7 years ago

I'm having the same issue with the SAMD21 Xplained Pro board: InputSerialPlotter:34: error: 'I2S' was not declared in this scope

I also tried the AmplitudeSerialPlotter with similar error (but in the c++ file): C:\Program Files (x86)\Arduino\portable\sketchbook\libraries\ArduinoSound\src\AudioInI2S.cpp:36:8: error: 'I2S' was not declared in this scope

@eljefedelrodeodeljefe any luck?

sandeepmistry commented 7 years ago

We've added a nicer error message in https://github.com/arduino/ArduinoCore-samd/pull/246 for boards that do not support I2S. Supported boards are: Zero, MKRZero, MKR1000, MKRFox1200.