Arduino Accelerometer Continuous Example with ArduinoBLE

Question/Issue: I’ve got the Arduino 33 BLE Sense accelerometer continuous inference example working fine however it blocks the main loop which prevents ArduinoBLE library from working properly. Is there a way to get this working without blocking the main loop? I had a go at removing the while loops from the main loop and the background thread but it unfortunately seemed to break the example. Any pointers would be much appreciated!

Hello,

Maybe this can help?

Workshop using SparkFun MicroMod nRF52840

Check inference over BLE

Regards,
Joeri

I don’t think so because that code is not a continuous inference example. The example I’m trying to get working with BLE is in the examples exported with the lib downloaded for arduino nano ble 33 sense named nano_ble33_sense_accelerometr_continuous