This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

Event handling for Accelerometer

Hi!

I am using an ASXL375 accelerometer with a nRF52832, and I am trying to figure out a good way to read the sensor data asynchronously (allowing the other processes the board is carrying out to run in the meantime). I have seen this main.c file that only reads sensor data, but the problem is, I want the board to other things. Should I set up some kind of timer to read the sensor once in a given time interval? Any other suggestions for those who have implemented something like this in the past?

Thanks!

Parents Reply Children
Related