Open this page at https://astr0fix.github.io/Multi-Use-Compass-For-Microbit/
This is a multi-use compass for the BBC Microbit. It can show magnetic force measured in Microtestlas(µT), Show the current heading and show an arrow pointing norht like a real compass.
Controls:
- A Button Shows the Heading(updates after the text has finished scrolling)
- B Button shows the magnetic force in Microteslas(µT)
- A + B Buttons shows an Arrow pointing north
This repository can be added as an extension in MakeCode.
- open https://makecode.microbit.org/
- click on New Project
- click on Extensions under the gear icon menu
- search for https://github.com/astr0fix/multi-use-compass-for-microbit and import
To edit this repository in MakeCode. If you do edit this project please credit me in the description
- open https://makecode.microbit.org/
- click on Import then click on Import URL
- paste https://github.com/astr0fix/multi-use-compass-for-microbit and click import
This image shows the blocks code from the last commit in master. This image may take a few minutes to refresh.
- for PXT/microbit