Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- /**
- * The movement interrupt needs to be calculated to take into account gravity and its
- * current orientation. For this to work, the object must be stationary. You typically
- * call this method before putting the device to sleep for wake-on-move. The stationnaryTime
- * is the amount of time the device needs to be stationary, in milliseconds. Typically, you'd
- * wait a few seconds. The maxWaitTime is the amount of time in milliseconds to wait for
- * the device to stop moving. 0 means wait forever.
- */
- bool calibrateFilter(unsigned long stationaryTime, unsigned long maxWaitTime = 0);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement