If you find your compass or accelerometer isn’t working in the way you expect it to, it may be a result of recent software updated to support the micro:bit motion sensor revision. Modifications have been made to the underlying software that supports the compass and accelerometer.


In the case of the compass, a sympton of this is that the LEDs will not move on the screen when you try to calibrate the compass.




For the accelerometer you may find that it simply does not respond to your code.


First, try updating your .hex file. which is simply a case of dragging it into the online editor that was used to create it and re-download it.


Javascript Blocks Editor

  1. Drag the .Hex file you wish to update into the editor at makecode.microbit.org
  2. Choose Download to compile the file and save it.




Python Editor


  1. Drag the .Hex file you wish to update into the editor at python.microbit.org
  2. Choose Download to compile the file and save it.

drag and drop into python editor



If that doesn’t resolve the issue, please open a support ticket



Additional keywords for search: updating hex, calibration not working, magnetometer, compass doesn't work, accelerometer doesn't work.