WebUSB

WebUSB is an emerging web standard that allows to access micro:bit from web pages. It allows for a one-click download without installing any additional app or software! It also allows to receive data from the micro:bit.

Support

  • Chrome 65+ browser for Android, Chrome OS, Linux, macOS and Windows 10.

Prepare your micro:bit

Make sure that your micro:bit is running version 0249 or above of the firmware. Upgrading is as easy as dragging a file and it takes a few seconds to get it done.

Pair your micro:bit

Here are the steps on the supported browsers:

  • connect your micro:bit to your computer with the microUSB cable
  • open a project.
  • open the gearwheel menu and select Pair device
  • click on the Pair device button and select BBC micro:bit CMSIS-DAP or DAPLink CMSIS-DAP from the list.

If you don’t see any devices in the list and micro:bit has the right firmware (0249 or above), you can create a support ticket to notify the Micro:bit Foundation of the problem. Skip the rest of these steps.

One-click Download

Once your micro:bit is paired, MakeCode will use WebUSB to transfer the code without having to drag and drop. Happy coding!

Console output

MakeCode will be able to “listen” to your micro:bit and display the console output.