iPad Compass not working in Smart BASIC
Posted: Sat Sep 13, 2025 4:52 pm
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?
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?