Welcome to another micro:bit Monday blog post. This week we are going to look at creating a simple compass which shows the bearing from magnetic North in degrees.
The built-in compass sensor is called a magnetometer. This can be used to measure the Earths magnetic field.
This week we are going to look at the accelerometer. The accelerometer allows us to use the micro:bit to detect movement, whether this is counting steps, detecting if someone or something is falling.
There are two ways to use the accelerometer, either through the shake function or the acceleration block, We will be consentrating on the accelerometer block.