# data[].attributes.body
Today the ninjas made their own digital pets! And learned how to use sound and loops!

# data[].attributes.attachment_link.description
Made with ❤️ in Microsoft MakeCode for micro:bit.

# data[].attributes.headline
where you can buy the physical micro:bit! 

# data[].attributes.subject
where you can buy the physical micro:bit! 

# data[].attributes.body
Here is linked the micro:bit V2, this version has the mic and speaker

# data[].attributes.body
This is a free application, that you do not have to sign up for

# data[].attributes.attachment_link.description
A Blocks / JavaScript code editor for the micro:bit powered by Microsoft MakeCode.

# data[].attributes.headline
Getting started or exploring farther into Micro:bits!

# data[].attributes.subject
Getting started or exploring farther into Micro:bits!

# data[].attributes.body
The micro:bit website has instructions and lessons if your kid wants to explore more

# data[].attributes.attachment_link.readable_text
Program

You tell computers like the micro:bit what to do by giving them instructions. Sets of instructions for computers are called programs. Programs are written in code, a language that both you and the computer can understand.

You can program your micro:bit in the online MakeCode block or Python text editors. Our Let's code page helps you choose the one that's right for you.

You'll need either:

a computer with a web browser and internet access
or

a phone or tablet and our free micro:bit app for MakeCode coding on Android or iOS (iPhone and iPad) mobile devices

When you've written your code, you'll want to connect and transfer it onto the micro:bit.

Connect

Connect your micro:bit to your computer or mobile device.

If you're using a computer, you need a micro USB cable to connect to your micro:bit to your computer's USB socket

If you're using a phone or tablet, use Bluetooth to connect your micro:bit wirelessly

Transfer from a computer

Transferring your program to your micro:bit is called flashing because it copies your program into the micro:bit's flash memory.

Your micro:bit will pause and the yellow LED on the back will blink while your program is being transferred. Once it's copied across, your program starts running on your micro:bit.

There are two ways to transfer your program from a computer:

Drag and drop is like copying a downloaded file from your computer to a USB memory stick. It works on any computer.

Direct flashing sends your program from the code editor direct to your micro:bit. It works on any computer in two popular web browsers.

Drag and drop

When you plug the micro:bit into your computer's USB socket, it will appear on your computer like a USB memory stick called MICROBIT.

Download your program as a .hex file from the code editor to your computer, usually to your downloads folder. Then drag and drop the .hex file on to the MICROBIT drive.

After you transfer your .hex file, the MICROBIT drive will disconnect and reconnect as the micro:bit resets. The .hex file will not be listed on the MICROBIT drive after this. This is expected. Your micro:bit is not a flash storage device, but your computer shows it as one to make it easy to transfer .hex files.

The videos below show you how it works. Choose your computer type (Windows, Mac, Chromebook or Linux/Raspberry Pi) to see how it will work for you:

Choose your computer type:

Direct flashing

You can send programs direct from the online code editors to your micro:bit without the need to download and copy a .hex file. This is quick and easy.

To use direct flashing, you'll need to use a recent Chrome or Edge web browser that supports webUSB.

You may also need to update your micro:bit firmware if you got the device a long time ago. Find out more on our firmware page.

Note: direct flashing is quick and easy, and is great for debugging, but it does not save a copy of your program on your computer. If keeping a copy of your code on your computer or local network drives is important to you, for example for assessing students' work, you may want to use drag and drop instead, or remind students to download and save a .hex file when they have completed their project.

Transfer from mobile app

To get started on mobile, you need to download the free micro:bit app to your phone or tablet and follow the on-screen instructions. The apps use Bluetooth to transfer your code to your micro:bit, so you need to enable Bluetooth on your phone or tablet.

These videos help you understand how the mobile apps work with your micro:bit.

# data[].attributes.attachment_link.description
You tell computers like the micro:bit what to do by giving them instructions. Sets of instructions for computers are called programs. Programs are written in code, a language that both you and the computer can understand. You can program your micro:bit in the online MakeCode block or Python text editors.

# data[].attributes.body
Today the ninjas made their own name tag! And learned how to use Simple functions with the micro: bits, and then turned them into wearable tech!

# data[].attributes.attachment_link.description
Made with ❤️ in Microsoft MakeCode for micro:bit.

# data[].attributes.body
Today the ninjas made their own fortune tellers!
just ask it a simple yes or no question and give the micro: bit a shake!

# data[].attributes.attachment_link.description
Made with ❤️ in Microsoft MakeCode for micro:bit.

# data[].attributes.body
Today the ninjas made step counters! when you shake the micro: bit the number goes up!

# data[].attributes.attachment_link.description
Made with ❤️ in Microsoft MakeCode for micro:bit.

# data[].attributes.body
These two days the Ninjas got to make what ever they wanted!

# data[].attributes.attachment_link.description
Made with ❤️ in Microsoft MakeCode for micro:bit.