Summary
In this chapter, we have explored the onboard components of the Micro:bit board, such as an accelerometer and a compass. Both are complex components with usage in real-life applications such as fall detection, shock analysis, and navigation. We have also explored data logging techniques using an accelerometer. We have also gone through compass programming using various methods. We also explored inbuilt functions and methods, such as accelerometer.get_values
, compass. calibrate()
, compass.heading()
, and compass.get_field_strength()
.
In the next chapter, we will explore NeoPixel programming and interfacing with a MAX7219-based 8-digit Seven Segment display board.