You are reading a single comment by @Stev and its replies. Click here to read the full conversation.
  • Hey,

    just received my microbit and while typing along (really easy espruino install, btw) I found that repetitively calling compass() creates nonsense result and soon gets stuck at

    { "x": 0, "y": 0, "z": 2 }
    

    like so:

    >compass()
    ={ "x": 29688, "y": -1537, "z": 32514 }
    >compass()
    ={ "x": -4214, "y": 24832, "z": 24834 }
    >compass()
    ={ "x": 24878, "y": -253, "z": 2 }
    

    Saw that too? Not sure if its some device data underflow or a missing reset, as I haven't looked at any internals so far.

    Cheers
    Stev

About

Avatar for Stev @Stev started