Using the WebUSB feature available in makecode.microbit.org when using the Chrome browser, we are able to display live data from the micro:bit in the console page of the editor.
- Pair your micro:bit in the browser. You'll need the most current firmware on your micro:bit to do this.
- One you've paired, on screen dialogue will tell you to try downloading a program. Use something that will output serial data in order to display this on the console and flash the micro:bit.
- Click on Show console Device to view the output. Form this point you can download as a .CSV and open as a spreadsheet.
In this example we are displaying the light level and simply moving a hand across the micro:bit to demonstrate the changes.