# Please help me, the compass pointer doesn't match reality. I did something wrong in the code. I face north but The needle points west

**URL:** <https://community.thunkable.com/t/please-help-me-the-compass-pointer-doesnt-match-reality-i-did-something-wrong-in-the-code-i-face-north-but-the-needle-points-west/3141422>\
**Category:** Questions about Thunkable X\
**Created:** [August 15, 2024, 4:09am UTC](https://community.thunkable.com/t/please-help-me-the-compass-pointer-doesnt-match-reality-i-did-something-wrong-in-the-code-i-face-north-but-the-needle-points-west/3141422 "2024-08-15T04:09:07Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![boriboon](https://avatars.discourse-cdn.com/v4/letter/b/838e76/32.png) [@boriboon](https://community.thunkable.com/u/boriboon)\
**Post date:** [August 15, 2024, 4:09am UTC](https://community.thunkable.com/t/please-help-me-the-compass-pointer-doesnt-match-reality-i-did-something-wrong-in-the-code-i-face-north-but-the-needle-points-west/3141422/1 "2024-08-15T04:09:07Z")

</div>

Please help me, the compass pointer doesn’t match reality. I did something wrong in the code.

 ![messageImage_1723694780483](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/4/0/40cc52090cccd83c5b1f7a1a82b7ead3319e282b.jpeg)  
 ![messageImage_1723694896727](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/c/7/c7a5debdddd23dd18c2216f0401f925a45565a5a.jpeg)

---

<div class="post-metadata">

**Author:** ![ioannis](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/ioannis/32/146956_2.png) [@ioannis](https://community.thunkable.com/u/ioannis)\
**Post date:** [August 16, 2024, 9:59pm UTC](https://community.thunkable.com/t/please-help-me-the-compass-pointer-doesnt-match-reality-i-did-something-wrong-in-the-code-i-face-north-but-the-needle-points-west/3141422/2 "2024-08-16T21:59:43Z")

</div>

Hello @boriboon  
I am not sure if it is an issue on the blocks  
I think is not needed to use a timer since you can add the set angle block inside the Magnetometer changes block.  
You could also use math blocks  
Here is an example:

 ![image](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/1/3/13a723ade419e78be8c78f219fa0547d89373f5a.png)

---

<div class="post-metadata">

**Author:** ![boriboon](https://avatars.discourse-cdn.com/v4/letter/b/838e76/32.png) [@boriboon](https://community.thunkable.com/u/boriboon)\
**Post date:** [August 22, 2024, 4:47am UTC](https://community.thunkable.com/t/please-help-me-the-compass-pointer-doesnt-match-reality-i-did-something-wrong-in-the-code-i-face-north-but-the-needle-points-west/3141422/3 "2024-08-22T04:47:18Z")

</div>

I changed it from 300 to 90

 ![รูปภาพ1](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/6/6/661c264e35588e1f3d5c1b5c3434ac2fb86780ca.png)

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/0/f/0f59f292712368bce16ff80133ae10de8a6f27e8.png) [@system](https://community.thunkable.com/u/system)\
**Post date:** [November 20, 2024, 4:48am UTC](https://community.thunkable.com/t/please-help-me-the-compass-pointer-doesnt-match-reality-i-did-something-wrong-in-the-code-i-face-north-but-the-needle-points-west/3141422/4 "2024-11-20T04:48:19Z")

</div>

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.
