Technical issue with the magnetometer

"Hello everyone!

I don’t speak English, sorry if there are any mistakes.

I was previously working with App Inventor, where I used the orientation sensor, and it worked well. I wanted to remake this application with Thunkable, but the magnetometer associated with the heading block is not working correctly (+90 degrees, it’s in the wrong quadrant). The calculations seem to be done with ‘atan’ instead of ‘atan2’, and I don’t understand why… Can anyone help me?"

Thank you in advance :slight_smile:

Hi fabienleromancer1hz8, welcome to Thunkable! :tada:

Be sure to check out How to ask Great Questions v2.0, the Community Guidelines, and our Getting Started Guide to make the best of your Thunkable Community experience!

Could you share the project with us or take a screenshot of the blocks so we can see how it is set up?