Arduino library analog Read

Hello,

If I wanted to have continuous live classification of an analog input on the Nano 33 BLE Sense what would be the best way to approach this and would you have any examples?
I trained a model with Serial data by using the edge-impulse-data-forwarder. This worked out pretty good.
Now I want to use this model in a library on my Arduino 33 BLE Sense.

Thanks for helping me!

Hi @flori, I’d take the static example and run it in a loop. Just keep filling the buffer with new readings.

There’s also the continuous accelerometer example which does something similar, with some smoothing. You can look at it for inspiration.