Go to file
2020-06-08 10:38:25 -07:00
inc Merge pull request #10 from philipphenkel/fix-typo 2018-11-23 14:02:34 +00:00
source Remove int1,2,3 2018-11-22 13:59:48 +00:00
.gitignore microbit: Update to lancaster-university repo. 2015-08-12 15:59:18 +01:00
.yotta.json microbit: changed default target to gcc 2015-12-11 15:20:19 +00:00
LICENSE microbit: added MIT license information. 2016-04-06 16:47:41 +01:00
module.json Bump to v2.2.0-rc6 2020-06-08 10:38:25 -07:00
README.md microbit: updated readme.md 2016-04-06 15:45:55 +01:00

microbit

A collection of the commonly used components of the micro:bit runtime with a standard configuration, to provide an easy to use interface for programming the micro:bit in C/C++.

Overview

The micro:bit runtime provides an easy to use environment for programming the BBC micro:bit in the C/C++ language, written by Lancaster University. It contains device drivers for all the hardware capabilities of the micro:bit, and also a suite of runtime mechanisms to make programming the micro:bit easier and more flexible. These range from control of the LED matrix display to peer-to-peer radio communication and secure Bluetooth Low Energy services. The micro:bit runtime is proudly built on the ARM mbed and Nordic nrf51 platforms.

In addition to supporting development in C/C++, the runtime is also designed specifically to support higher level languages provided by our partners that target the micro:bit. It is currently used as a support library for all the languages on the BBC www.microbit.co.uk website, including Microsoft Block, Microsoft TouchDevelop, Code Kingdoms JavaScript and Micropython languages.

micro:bit runtime docs | microbit-dal | samples

Build Environments

Build Environment Documentation
ARM mbed online http://lancaster-university.github.io/microbit-docs/online-toolchains/#mbed
yotta http://lancaster-university.github.io/microbit-docs/offline-toolchains/#yotta

Hello World!

#include "MicroBit.h"

MicroBit uBit;

int main()
{
    uBit.init();

    uBit.display.scroll("Hello world!");
}

BBC Community Guidelines

BBC Community Guidelines