You are reading a single comment by @d3nd3-o0 and its replies. Click here to read the full conversation.
  • https://pastebin.com/BahN25YL
    This was my solution, but I only just read the above post by Gordon, so might not be needing it. My code is comparing orientation in space 5 minutes apart, if they are equal it calls softOff. So not completely fool-proof, uses magnetometer and accelerometer dot product, magnetometer only stays on for the 1 sec it's needed.

About

Avatar for d3nd3-o0 @d3nd3-o0 started