A micro:bit használata - 5 egyszerű lépésben

Discover how to use the micro:bit in 5 easy steps! You can program the micro:bit on both desktop (Macs, PCs, Chromebooks, Linux, including Raspberry Pi) and mobile.

Step 1: Connect it

Connect the micro:bit to your computer using a micro USB cable. Your micro:bit will show up on your computer as a drive called 'MICROBIT'. Watch out though, it's not a normal USB disk!

Step 2: Program it

You can program the micro:bit in the MakeCode Editor (which uses blocks) and Python (which is textual).

The MakeCode Editor

The MakeCode Editor uses drag-and-drop blocks and code is written in JavaScript. Try coding this example, in which a flashing heart appears on the device!

The Python Editor

The Python Editor allows you to code the micro:bit in the popular Python programming language. Try coding this example, in which a flashing heart appears on the device!

from microbit import *

while True:

You can program your micro:bit from a mobile device using a number of different apps, including:

  • The micro:bit companion app, for iOS and Android
  • Swift Playgrounds, for iPad
  • The Windows 10 App, available on the Windows Store

Check out our mobile apps page to learn more about the apps available for micro:bit.

Step 3: Download it

Click the Download button in the editor. This will download a 'hex' file, which is a compact format of your program that your micro:bit can read. Once the hex file has downloaded, copy it to your micro:bit just like copying a file to a USB drive.

On Windows you can right click the downloaded .hex file and choose "Send To→MICROBIT."

using Send To context menu on Windows

On a Mac you can drag and drop the .hex to the MICROBIT drive.

Step 4: Play it

The micro:bit will pause and the yellow LED on the back of the micro:bit will blink while your code is programmed. Once that's finished the code will run automatically!

What cool stuff will you create? Your micro:bit can respond to the buttons, light, motion, and temperature. It can even send messages wirelessly to other micro:bits using the 'Radio' feature.

The MICROBIT drive will automatically eject and come back each time you program it, but your hex file will be gone. The micro:bit can only receive hex files and won't store anything else!

Check out the ideas page for more inspiration.

Step 5: Master it

This page shows you how to get started with micro:bit, but you can actually program the micro:bit in a number of different languages on a lot of different platforms. Head over to the Let's Code page to see the different languages, or check out the ideas page for some things you might like to try out.

Contact support to get more help with your micro:bit.

Coding the micro:bit from a phone or tablet

Using a mobile device? You can code the micro:bit from a phone or tablet using Bluetooth. Tap here to learn more and get started!

Selecting this opens external content from our support system, which adheres to their privacy policy.