Now, let's try rotation and tilt combined. In this test, you will rotate the micro:bit by a certain angle, and then tilt it away from you by 45°.
- If test_tilts_intro is not still running:
- Open the test_tilts_intro script with the micro:bit Python Editor.
- Click Send to micro:bit.
- Click Show serial to view the x and y display shown in the animation below.
- While tilting the micro:bit 45° away from you, test at each rotation shown in the animation.
- Fill your measured values into the table.
Angle | x value | y value |
---|---|---|
0° | 736 | 0 |
45° | ||
90° | ||
135° | ||
180° | ||
225° | ||
270° | ||
315° | ||
360° |