Using the WebUSB feature available in makecode.microbit.org and using a Chrome-based browser like Google Chrome or Microsoft Edge, 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 recent firmware on your micro:bit to do this.
- Once you've paired, the 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 (note that this has to be done via the browser connection, dragging and dropping the file will not work for displaying the device console).
- 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, which in turn outputs the reading over the serial connection.
Windows 10 users may also use iLog by Insight Resources (developers of the micro:bit iOS app)