iPad Compass not working in Smart BASIC

Post Reply
davey110
Posts: 96
Joined: Mon Dec 26, 2016 11:01 pm
My devices: iPhone SE 2020
iPad mini 2
Flag: Canada

iPad Compass not working in Smart BASIC

Post by davey110 »

I wrote a program on my iPad to display a compass, the needle being a Sprite. Not fancy but it worked great. Now it has stopped working - it always shows " 89° " and the needle only points left. Compass apps from the App Store work perfectly (with fancier graphics display than mine). I have checked the Location Services settings & all are ok. I also re-checked the program code & nothing has gotten changed. And I even copied it over onto my phone & it works fine (although I'll have to adjust the size).

The actual BASIC compass statement PRINT COMPASS_HEADING() no longer works; it only prints "89".

Any suggestions what the problem might be, and how to fix it?

Post Reply