This project uses the OrientationSensor component's Azimuth property to display the current magnetic compass heading value and by rotating an ImageSprite 'dial' on a Canvas.
Component blocks:
⦁ Canvas
⦁ Clock
⦁ ImageSprite (2)
Language blocks:
⦁ Math +,/,floor,=
⦁ Control if
--
I'm not sure, if I understand the purpose of your example compared to this simple solution http://puravidaapps.com/snippets.php#2compass
Nice! I had not seen that. You ought to do a video to show it off :)
Getting declination from latitude, longitude, altitude and date and time might be a bit tricky with AI blocks.
I did a crude approximation for another project with C a few years ago.
I saw that iPhone comes with a compass app that compensates for declination by default.
We have some catching-up to do....
--
You could be eligible for a complimentary Apple iPhone 7.
답글삭제If you need your ex-girlfriend or ex-boyfriend to come crawling back to you on their knees (even if they're dating somebody else now) you need to watch this video
답글삭제right away...
(VIDEO) Text Your Ex Back?