The BBC micro:bit contains a digital compass or "magnetometer". You can obtain magnetometer data including the direction the micro:bit is currently facing, measured in degrees, over a Bluetooth connection. Want to see what this looks like? Of course you do!
http://bluetooth-mdw.blogspot.co.uk/p/bbc-microbit.html#compass
No comments:
Post a Comment
Note: only a member of this blog may post a comment.