I’m trying to follow this Bluetooth Usage on Seeed Studio XIAO nRF52840 (Sense) - Seeed Wiki but the example doesn’t compile. Here’s my error:
WARNING: library ArduinoBLE claims to run on samd, megaavr, mbed, apollo3, mbed_nano, mbed_portenta, mbed_nicla architecture(s) and may be incompatible with your current board which runs on nrf52 architecture(s).
C:\Users\Cameron\Documents\Arduino\libraries\ArduinoBLE\src\utility\HCIUartTransport.cpp:33:2: error: #error "Unsupported board selected!"
33 | #error "Unsupported board selected!"
| ^~~~~
C:\Users\Cameron\Documents\Arduino\libraries\ArduinoBLE\src\utility\HCIUartTransport.cpp:99:40: error: 'SerialHCI' was not declared in this scope; did you mean 'Serial'?
99 | HCIUartTransportClass HCIUartTransport(SerialHCI, 912600);
| ^~~~~~~~~
| Serial
exit status 1
Error compiling for board Seeed XIAO nRF52840 Sense.
Anybody have any ideas?