Go to file
Schoumi 8761fb3162 fix warning in ble 2022-07-07 13:10:05 +02:00
inc fix warning thanks to adbb9fb9bd 2022-07-07 13:05:10 +02:00
source fix warning thanks to adbb9fb9bd 2022-07-07 13:05:10 +02:00
.gitignore Merge branch 'pxtgc' into js-event-semantics 2020-03-25 16:03:45 +00:00
AUTHORS microbit-dal: Added AUTHORS, and removed unused CHANGES.md file 2016-04-06 15:08:37 +01:00
CHANGELOG Update CHANGELOG 2018-11-28 14:10:00 +00:00
LICENSE microbit-dal: Added MIT license information. 2016-04-06 17:07:03 +01:00
README.md Clarify what dal stands for 2019-09-30 11:43:02 -06:00
module.json fix warning in ble 2022-07-07 13:10:05 +02:00

README.md

microbit-dal

The Device Abstraction Layer (DAL) provides the core set of drivers, mechanisms and types that make up the micro:bit runtime.

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.org website; including the Javascript Blocks Editor and Micropython

micro:bit runtime docs | uBit | 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 "MicroBitDisplay.h"

MicroBitDisplay display;

int main()
{
    display.scroll("Hello world!");
}

BBC Community Guidelines

Microbit Community Guidelines