Compass and its Calibration

The compass detects the earth’s magnetic field, allowing you to detect which direction the micro: bit is facing. The compass has to be calibrated before it can be used.
‘Calibrating’ the compass ensures the compass results are accurate. For the JavaScript Blocks Editor, use the ‘calibrate compass’ block. To calibrate the compass in Python use compass.calibrate() .
