Problem:
Method "thresholdExceeded" always works even though we didn't move the spot or move the spot when it is in deepsleep.
Cause:
I suppose that the events occurred when we do move and wait for sending the messages when the receiver is available.
Solution:
Disable ThresholdEvent before starting in deepsleep mode -- accel.enableThresholdEvents(IAccelerometer3D.ALL_AXES, false);
Method "thresholdExceeded" always works even though we didn't move the spot or move the spot when it is in deepsleep.
Cause:
I suppose that the events occurred when we do move and wait for sending the messages when the receiver is available.
Solution:
Disable ThresholdEvent before starting in deepsleep mode -- accel.enableThresholdEvents(IAccelerometer3D.ALL_AXES, false);
Comments