Adafruit Libraries

Once you want to get any more complex stuff going, you'll need a helper library to manage stuff like the internal temperature sensor, LED matrix, or Bluetooth connection.

To make your life easier, we've written up a wrapper library that manages all this stuff for you.

You'll also need to install some helpers:

Download BLE Peripheral library

In the Arduino library manager, install the BLE Peripheral library:

Download Adafruit GFX library

In the Arduino library manager, install the Adafruit GFX library:

Download Adafruit_Microbit library

To use the LED matrix or Bluetooth connection, you will need to download Adafruit_Microbit from our github repository. You can do that by visiting the github repo and manually downloading or, easier, just click this button to download the zip:

Rename the uncompressed folder Adafruit_Microbit and check that the Adafruit_Microbit folder contains Adafruit_Microbit.cpp and Adafruit_Microbit.h

Place the Adafruit_Microbit library folder your arduinosketchfolder/libraries/ folder. 
You may need to create the libraries subfolder if its your first library. Restart the IDE.

We also have a great tutorial on Arduino library installation at:
http://learn.adafruit.com/adafruit-all-about-arduino-libraries-install-use

Once you've re-started the Arduino IDE you should see the library examples appear in the File->Examples->Adafruit_Microbit menu

Last updated on 2017-09-27 at 01.05.00 PM Published on 2017-09-27 at 01.15.13 PM