micro:bit V2

The micro:bit V2 introduces a microphone, speaker, and capacitive touch input on the board’s logo. The new blocks designed for the micro:bit V2 will not work with the micro:bit v1.

Let’s learn how this works in MakeCode…


We are still working on upgrading the editor to utilize all the new features. If you have a micro:bit V2 and wish to try things out, please use https://makecode.microbit.org/beta and report any bugs back to us!

v2 Blocks

works with micro:bit V2 only image

The following blocks require the micro:bit V2 hardware to run. If you try a program with those blocks on a micro:bit V1 board, you see the 927 error code scroll across your screen.

A screenshot of the v2 blocks

input.onSound(DetectedSound.Loud, function () {})
input.onLogoEvent(TouchButtonEvent.Pressed, function () {})
pins.touchSetMode(TouchTarget.P0, TouchTargetMode.Capacitive)

How to recognize the micro:bit V2?

The first thing to know is whether you have a micro:bit v1 or micro:bit V2 at hand. You can recognize the v2 boards visually with these differences…

  • notches in the bottom edge connector
  • gold plated logo on the front, instead of a colored one
  • tiny hole near the top right of the screen for the microphone LED

micro:bit v1 and micro:bit V2 front side by side

  • red power LED next to the USB connect
  • large black microphone component centrally located in the back and rotated by 45 degrees
  • slanted radio antenna

micro:bit v1 and micro:bit V2 back side by side

v2 simulator

If your program uses any of the micro:bit V2 specific blocks, it will automatically change to a micro:bit V2, with notches in the connector and a gold plated logo. You will also see a “v2” symbol on the lower right of the board.

micro:bit V2 simulator

I see 927 scrolling on my board?

If you try to use a program with micro:bit V2 blocks on a micro:bit v1 board, you will see the 927 error code scroll on the micro:bit screen.