Kom i gang med micro:bit med 5 enkle steg

Steg 1: Tilkobling

Koble micro:bit til datamaskinen din med en micro USB kabel (bruker du telefon eller nettbrett? Klikk her for å finne ut hvordan du koder en mikro:bit fra en mobil enhet). Mac'er, PC'er, Chromebook'er og Linux-systemer (inkludert Raspberry Pi) er alle støttet. Micro:bit kommer med et morsomt program, prøv det!

Din micro:bit vil dukke opp som en ny harddisk kalt "MICROBIT", men den er ikke som andre USB-disker!

Steg 2: Programmér den

Skriv din første micro:bit kode med hjelp av en av våre fantastiske editorer. For example drag and drop some blocks and try your program on the Simulator in the MakeCode Editor, like in the image below that shows how to program a Flashing Heart.

Click here to try making this example yourself

Steg 3: Last den ned

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 and choose "Send To→MICROBIT."

Windows "Send til"

ved hjelp av Send til-kontekst menyen i Windows

Mac dra og slipp

Steg 4: Kjør det

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!

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!

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.

Check out the ideas page for more inspiration.

Steg 5: Mestre den

This page shows you how to get started with micro:bit, but as well as MakeCode you can use Python and text-based JavaScript to program your micro:bit. 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.