You are reading a single comment by @coat and its replies. Click here to read the full conversation.
  • Hi everyone.
    I'm trying to write a code that give the acceleration of X axis and, if it's major than 45° something happens.
    Using

    Microbit.accel()
    

    I have a string like this

    { "x": 0.115234375, "y": -0.37109375, "z": -0.951171875 }
    

    First of all, what is this measure unit?
    How can I get degrees?
    And....is there a way to get X, Y and Z separately?

    Thanks

About

Avatar for coat @coat started