hanyazou / BMI160-Arduino

76 stars 35 forks source link

Issues with interrupts #6

Open uzhul38 opened 7 years ago

uzhul38 commented 7 years ago

Hello,

I am using your library and i am having issues with the interrupts. I am trying to modify the detection threshold and duration with the function "setMotionDetectionDuration" but i can't access them from the bmi160.h and for the functions "setDetectionDuration(int feature, float duration)" in the CurieIMU.h the "feature" part is a bit hard to get for me, i can't find a way to access them from my ino file.

Could you, please, show me an example of a any motion interruption with a modification of the detection duration and threshold ?

Thanks,