This example uses the onboard sensors displayed below on the micro:bit:
Select the Extensions in the Blocks Toolbox.
Search for the datalogger extension and select it.
The datalogger blocks are now available in the Blocks Toolbox.
Drag the mirror data to serial
block into the on start
block:
Select the set columns
block. Drag it under the mirror data to serial
block: