Name Date Size

..29-Nov-20194 KiB

.gitignoreH A D27-Sep-201864

AUTHORSH A D27-Sep-2018244

CHANGELOGH A D19-Dec-20182.7 KiB

inc/H27-Sep-20184 KiB

LICENSEH A D27-Sep-20181.2 KiB

module.jsonH A D23-Nov-2018846

README.mdH A D01-Oct-20191.7 KiB

source/H27-Sep-20184 KiB

README.md

1# microbit-dal
2
3The Device Abstraction Layer (DAL) provides the core set of drivers, mechanisms and types that make up the micro:bit runtime.
4
5## Overview
6
7The 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.
8
9In 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.org website; including the Javascript Blocks Editor and Micropython
10
11## Links
12
13[micro:bit runtime docs](http://lancaster-university.github.io/microbit-docs/) | [uBit](https://github.com/lancaster-university/microbit) |  [samples](https://github.com/lancaster-university/microbit-samples)
14
15## Build Environments
16
17| Build Environment | Documentation |
18| ------------- |-------------|
19| ARM mbed online | http://lancaster-university.github.io/microbit-docs/online-toolchains/#mbed |
20| yotta  | http://lancaster-university.github.io/microbit-docs/offline-toolchains/#yotta |
21
22
23
24## Hello World!
25
26```cpp
27#include "MicroBitDisplay.h"
28
29MicroBitDisplay display;
30
31int main()
32{
33    display.scroll("Hello world!");
34}
35```
36
37## BBC Community Guidelines
38
39[Microbit Community Guidelines](http://microbit.org/community/)
40