I’m using the example midi_test for my XIAO-Board.
But I got the following errors.
C:\Users\Schmullus\AppData\Local\Arduino15\packages\Seeeduino\hardware\samd\1.8.4\cores\arduino\main.cpp: In function ‘int main()’:
C:\Users\Schmullus\AppData\Local\Arduino15\packages\Seeeduino\hardware\samd\1.8.4\cores\arduino\main.cpp:72:3: error: ‘Adafruit_TinyUSB_Core_init’ was not declared in this scope
Adafruit_TinyUSB_Core_init();
^~~~~~~~~~~~~~~~~~~~~~~~~~
C:\Users\Schmullus\AppData\Local\Arduino15\packages\Seeeduino\hardware\samd\1.8.4\cores\arduino\main.cpp:72:3: note: suggested alternative: ‘Adafruit_USBD_CDC’
Adafruit_TinyUSB_Core_init();
^~~~~~~~~~~~~~~~~~~~~~~~~~
Adafruit_USBD_CDC
exit status 1
He means make sure your Arduino IDE has the correct board installed in the board manager and make sure the correct board is selected as the target before attempting to compile the sketch
you did not specify which XIAO you were trying to use, the different chipsets may have unique querks…
no, it didn’t help! Adafruit-TinyUSB is part of the code, you install with the Seeeduino-XIAO-Board.
Normally there is no need to install it in addition. I tried it, but it failed!