Welcome to mission control, this theme will show you how to code your creations! You will need to have basic knowledge of the working of the BYOR-kit. You can get this knowledge by doing the first missions, about BYOR Basics. For this mission you will need the BYOR starter-kit and the micro;bit chip.
Start the video below to hear the first transmission from the spaceship.
Turn on an output-part with brain power!
1. Connect the micro:bit
Use the micro-USB cable to connect the micro:bit to your computer.
You will see it appear as you would a USB stick, later we will drag and drop code-files there.
Connect an output part
Get your Easyboard and connect an LED to output 13 (you can see the output-numbers on the bottom). We will make a code that will turn that LED on.
2. Make a code!
First we will make a code, it’s super easy and can be done online. Go to makecode.microbit.org/#editor, here we will do the programming, making the code which makes the chip think.
Search for Digital Write in the searchbar and drag the Digital Write block to the Forever block. Make sure it snaps into the Forever block.
From the dropdown menu, select P13 and fill in the number 1 in the white box, so it resembles the image above.
Upload your code!
Now save the files using the save-button. Save it onto te micro:bit drive. Wait a bit and the code is on the micro:bit. Attach the micro:bit to your Easyboard. Power the Easyboard and the LED will turn on. The brain is working!
Not working? Make sure the Easyboard has power and the connectors are all the way in. Still not working? Learn more in the programming manual