Code
You can now use the Arduino IDE to develop and program your Micro:Bit, in my view thats a good thing to add this support as its a popular development tool.
In this next example using the block editor we will use the accelerometer that is on the Micro:bit board to detect when the micro:bit is being shaken, if it is.
I bought an Espruino board while back because it allowed you to code in JavaScript using a neat chrome add on - a web ide and then flash your device.
We will look at how you can use C++ to write programs for your Micro:bit, there is an online compiler you use and we will show you how to access.
In this example we will create a VB.net program that will read data from the serial port, in this case a Microbit connected to the PC. We will then upload.
This example melds together our Microbit and an AD keypad and our Microbit built in tunes and allows you to play a different tune based on a key being pressed We only selected 9.