Arduino example (accelerator) of Nano 33 ble sense cannot work

I selected Inertial sensor to collect data in the Data Acquisition part. Then, I only selected 3 input axes ( accX, accY, accZ) in Spectral Analysis. After training the model, I downloaded the the zip file and put it into arduino library. I tried to use the example but there is an error message "C:\Users\username\AppData\Local\Temp.arduinoIDE-unsaved2023222-19708-ojo6fg.50q3d\nano_ble33_sense_accelerometer_continuous\nano_ble33_sense_accelerometer_continuous.ino:187:2: error: #error “Invalid model for current sensor”
#error “Invalid model for current sensor”
^~~~~

exit status 1

Compilation error: #error “Invalid model for current sensor”"

Is there any example code you can provide??

Or how can I select an accelerator to be my sensor in the beginning instead of using an inertial?

Delete lines 186, 187, 188.

2 Likes