Image

5AMAZING ACCELERATION

The accelerometer is arguably the most useful of the BBC micro:bit’s built-in sensors. It lets you measure the direction and strength of a force, such as gravity, that is acting on the micro:bit.

You can use the accelerometer for many things, including:

Image  Detecting gestures like shaking, or even finding out that your micro:bit is falling

Image  Learning which way and how much the micro:bit is tilted and using this to control your ...

Get Micro:bit for Mad Scientists now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.