Official Sheffield ARMBand micro:bit program

Committer:
MrBedfordVan
Date:
Mon Oct 17 12:41:20 2016 +0000
Revision:
0:b9164b348919
Official Sheffield ARMBand Micro:bit program

Who changed what in which revision?

UserRevisionLine numberNew contents of line
MrBedfordVan 0:b9164b348919 1 # microbit-dal
MrBedfordVan 0:b9164b348919 2
MrBedfordVan 0:b9164b348919 3 The core set of drivers, mechanisms and types that make up the micro:bit runtime.
MrBedfordVan 0:b9164b348919 4
MrBedfordVan 0:b9164b348919 5 ## Overview
MrBedfordVan 0:b9164b348919 6
MrBedfordVan 0:b9164b348919 7 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.
MrBedfordVan 0:b9164b348919 8
MrBedfordVan 0:b9164b348919 9 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 the Microsoft Block Editor, Microsoft Touch Develop, Code Kingdoms JavaScript and Micropython languages.
MrBedfordVan 0:b9164b348919 10
MrBedfordVan 0:b9164b348919 11 ## Links
MrBedfordVan 0:b9164b348919 12
MrBedfordVan 0:b9164b348919 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)
MrBedfordVan 0:b9164b348919 14
MrBedfordVan 0:b9164b348919 15 ## Build Environments
MrBedfordVan 0:b9164b348919 16
MrBedfordVan 0:b9164b348919 17 | Build Environment | Documentation |
MrBedfordVan 0:b9164b348919 18 | ------------- |-------------|
MrBedfordVan 0:b9164b348919 19 | ARM mbed online | http://lancaster-university.github.io/microbit-docs/online-toolchains/#mbed |
MrBedfordVan 0:b9164b348919 20 | yotta | http://lancaster-university.github.io/microbit-docs/offline-toolchains/#yotta |
MrBedfordVan 0:b9164b348919 21
MrBedfordVan 0:b9164b348919 22
MrBedfordVan 0:b9164b348919 23
MrBedfordVan 0:b9164b348919 24 ## Hello World!
MrBedfordVan 0:b9164b348919 25
MrBedfordVan 0:b9164b348919 26 ```cpp
MrBedfordVan 0:b9164b348919 27 #include "MicroBitDisplay.h"
MrBedfordVan 0:b9164b348919 28
MrBedfordVan 0:b9164b348919 29 MicroBitDisplay display;
MrBedfordVan 0:b9164b348919 30
MrBedfordVan 0:b9164b348919 31 int main()
MrBedfordVan 0:b9164b348919 32 {
MrBedfordVan 0:b9164b348919 33 display.scroll("Hello world!");
MrBedfordVan 0:b9164b348919 34 }
MrBedfordVan 0:b9164b348919 35 ```
MrBedfordVan 0:b9164b348919 36
MrBedfordVan 0:b9164b348919 37 ## BBC Community Guidelines
MrBedfordVan 0:b9164b348919 38
MrBedfordVan 0:b9164b348919 39 [BBC Community Guidelines](https://www.microbit.co.uk/help#sect_cg)