Show Menu

BBC Micro:bit coding from Arduino IDE Cheat Sheet by

Tutorial how to set up Arduino IDE to code Micro:bit

Plugga Studios Tutorial

Additional Board Manager URL

Open Tools

Open Tools>­Boa­rd>­Boards Manager from the menu bar, search for nRF5 and install “Nordic Semico­nductor nRF5 Boards” by Sandeep Mistry


Wait for the instal­lation. It will take a while.

Select Micro:bit

Select BBC micro:bit from the Boards menu.
Set SoftDevice to S110.
And set the Port to the Micro:bit COM port.

Start Arduino IDE

Start your Arduino IDE, then click on Prefer­ences.
Add the URL into the Additional Board Manager URL text box

Arduino File

Boards Manager

Test code

const int buttonA = 5; 
const int buttonB = 11;
void setup() 
  pinMode(buttonA, INPUT);  
  pinMode(buttonB, INPUT);   
void loop()
  if (! digitalRead(buttonA)) 
    Serial.println("Button A pressed");
  if (! digitalRead(buttonB)) 
    Serial.println("Button B pressed");


No comments yet. Add yours below!

Add a Comment

Your Comment

Please enter your name.

    Please enter your email address

      Please enter your Comment.

          Related Cheat Sheets

          Code BBC Micro:bit from Arduino IDE Cheat Sheet

          More Cheat Sheets by Plugga

          Code BBC Micro:bit from Arduino IDE Cheat Sheet