BLE disable version.
Fork of microbit by
README.md@7:64868768d90a, 2016-05-08 (annotated)
- Committer:
- va009039
- Date:
- Sun May 08 09:50:15 2016 +0000
- Revision:
- 7:64868768d90a
- Parent:
- 1:af427e419320
BLE disable.
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
Jonathan Austin |
1:af427e419320 | 1 | # microbit |
Jonathan Austin |
1:af427e419320 | 2 | |
Jonathan Austin |
1:af427e419320 | 3 | A collection of the commonly used components of the micro:bit runtime with a |
Jonathan Austin |
1:af427e419320 | 4 | standard configuration, to provide an easy to use interface for programming the micro:bit in C/C++. |
Jonathan Austin |
1:af427e419320 | 5 | |
Jonathan Austin |
1:af427e419320 | 6 | ## Overview |
Jonathan Austin |
1:af427e419320 | 7 | |
Jonathan Austin |
1:af427e419320 | 8 | 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. |
Jonathan Austin |
1:af427e419320 | 9 | |
Jonathan Austin |
1:af427e419320 | 10 | 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. |
Jonathan Austin |
1:af427e419320 | 11 | |
Jonathan Austin |
1:af427e419320 | 12 | ## Links |
Jonathan Austin |
1:af427e419320 | 13 | |
Jonathan Austin |
1:af427e419320 | 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) |
Jonathan Austin |
1:af427e419320 | 15 | |
Jonathan Austin |
1:af427e419320 | 16 | ## Build Environments |
Jonathan Austin |
1:af427e419320 | 17 | |
Jonathan Austin |
1:af427e419320 | 18 | | Build Environment | Documentation | |
Jonathan Austin |
1:af427e419320 | 19 | | ------------- |-------------| |
Jonathan Austin |
1:af427e419320 | 20 | | ARM mbed online | http://lancaster-university.github.io/microbit-docs/online-toolchains/#mbed | |
Jonathan Austin |
1:af427e419320 | 21 | | yotta | http://lancaster-university.github.io/microbit-docs/offline-toolchains/#yotta | |
Jonathan Austin |
1:af427e419320 | 22 | |
Jonathan Austin |
1:af427e419320 | 23 | |
Jonathan Austin |
1:af427e419320 | 24 | |
Jonathan Austin |
1:af427e419320 | 25 | ## Hello World! |
Jonathan Austin |
1:af427e419320 | 26 | |
Jonathan Austin |
1:af427e419320 | 27 | ```cpp |
Jonathan Austin |
1:af427e419320 | 28 | #include "MicroBit.h" |
Jonathan Austin |
1:af427e419320 | 29 | |
Jonathan Austin |
1:af427e419320 | 30 | MicroBit uBit; |
Jonathan Austin |
1:af427e419320 | 31 | |
Jonathan Austin |
1:af427e419320 | 32 | int main() |
Jonathan Austin |
1:af427e419320 | 33 | { |
Jonathan Austin |
1:af427e419320 | 34 | uBit.init(); |
Jonathan Austin |
1:af427e419320 | 35 | |
Jonathan Austin |
1:af427e419320 | 36 | uBit.display.scroll("Hello world!"); |
Jonathan Austin |
1:af427e419320 | 37 | } |
Jonathan Austin |
1:af427e419320 | 38 | ``` |
Jonathan Austin |
1:af427e419320 | 39 | |
Jonathan Austin |
1:af427e419320 | 40 | ## BBC Community Guidelines |
Jonathan Austin |
1:af427e419320 | 41 | |
Jonathan Austin |
1:af427e419320 | 42 | [BBC Community Guidelines](https://www.microbit.co.uk/help#sect_cg) |