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 on screen).
The BASIC compass statement PRINT COMPASS_HEADING() no longer works; it only prints "89".
The statement PRINT COMPASS_ACCURACY() always prints “30”.
Downloaded Compass apps work fine. Has something gone wrong with the COMPASS command?? Perhaps an update? Program is corrupted? If it’s corrupted, is it possible to re-download it without losing my saved programs?
Any suggestions what the problem might be, and how to fix it?
The BASIC compass statement PRINT COMPASS_HEADING() no longer works; it only prints "89".
The statement PRINT COMPASS_ACCURACY() always prints “30”.
Downloaded Compass apps work fine. Has something gone wrong with the COMPASS command?? Perhaps an update? Program is corrupted? If it’s corrupted, is it possible to re-download it without losing my saved programs?
Any suggestions what the problem might be, and how to fix it?