No motion detection duration/threshold
I would like to get notified once the 'C' has not been moved / no motion for a certain period of time. Let's say no major movement for 60 seconds. I would use this to detect "sleep" for example for a fitness tracker.
setDuration adn setThreshold both accept int values - what are the meanings of these. For Duration, it's ms?
bmi160AccModule.configureNoMotionDetection().setDuration(10).setThreshold(5);
This discussion has been closed.
Comments