Name Date Size

..13-Jul-20204 KiB

.gitignoreH A D27-Sep-201836

.yotta.jsonH A D27-Sep-201864

inc/H23-Nov-20184 KiB

LICENSEH A D27-Sep-20181.2 KiB

module.jsonH A D08-Jun-2020336

README.mdH A D27-Sep-20181.8 KiB

source/H23-Nov-20184 KiB

README.md

1# microbit
2
3A collection of the commonly used components of the micro:bit runtime with a
4standard configuration, to provide an easy to use interface for programming the micro:bit in C/C++.
5
6## Overview
7
8The 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.
9
10In 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.
11
12## Links
13
14[micro:bit runtime docs](http://lancaster-university.github.io/microbit-docs/) | [microbit-dal](https://github.com/lancaster-university/microbit-dal) |  [samples](https://github.com/lancaster-university/microbit-samples)
15
16## Build Environments
17
18| Build Environment | Documentation |
19| ------------- |-------------|
20| ARM mbed online | http://lancaster-university.github.io/microbit-docs/online-toolchains/#mbed |
21| yotta  | http://lancaster-university.github.io/microbit-docs/offline-toolchains/#yotta |
22
23
24
25## Hello World!
26
27```cpp
28#include "MicroBit.h"
29
30MicroBit uBit;
31
32int main()
33{
34    uBit.init();
35
36    uBit.display.scroll("Hello world!");
37}
38```
39
40## BBC Community Guidelines
41
42[BBC Community Guidelines](https://www.microbit.co.uk/help#sect_cg)
43