Advertisement
Guest User

Untitled

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