Hi, I am trying to use “Grove - 4-Channel SPDT Relay” with “XIAO SAMD21”. I used the relay successfully with other SAMD boards like Arduino MKR, but for “XIAO SAMD21” I get the following validation error:
In file included from C:\Users\chris\Documents\Arduino\libraries\Multi_Channel_Relay_Arduino_Library-master\multi_channel_relay.cpp:25:0:
C:\Users\chris\Documents\Arduino\libraries\Multi_Channel_Relay_Arduino_Library-master\multi_channel_relay.cpp: In member function 'uint8_t Multi_Channel_Relay::scanI2CDevice()':
C:\Users\chris\Documents\Arduino\libraries\Multi_Channel_Relay_Arduino_Library-master/multi_channel_relay.h:36:25: error: 'SerialUSB' was not declared in this scope
#define DEBUG_PRINT SerialUSB
^
C:\Users\chris\Documents\Arduino\libraries\Multi_Channel_Relay_Arduino_Library-master\multi_channel_relay.cpp:92:5: note: in expansion of macro 'DEBUG_PRINT'
DEBUG_PRINT.println("Scanning...");
^~~~~~~~~~~
C:\Users\chris\Documents\Arduino\libraries\Multi_Channel_Relay_Arduino_Library-master/multi_channel_relay.h:36:25: note: suggested alternative: 'Serial'
#define DEBUG_PRINT SerialUSB
^
C:\Users\chris\Documents\Arduino\libraries\Multi_Channel_Relay_Arduino_Library-master\multi_channel_relay.cpp:92:5: note: in expansion of macro 'DEBUG_PRINT'
DEBUG_PRINT.println("Scanning...");
^~~~~~~~~~~
exit status 1
Compilation Error for Board Seeeduino XIAO.
Please advise, as everthing is from seeedstudio I was hoping that it would work together without a problem.