Samples of how to use the micro:bit DAL with mbed. This is a hg clone of the real git repo that can be found here: https://github.com/lancaster-university/microbit-samples
Dependencies: microbit
Fork of microbit-samples by
README.md@4:da6c58e2d5fa, 2016-04-08 (annotated)
- Committer:
- Jonathan Austin
- Date:
- Fri Apr 08 17:39:22 2016 +0100
- Revision:
- 4:da6c58e2d5fa
- Parent:
- 2:5b2cd31ac474
Remove trailing main.cpp left over from sync
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
LancasterUniversity | 1:2ee7e607faaa | 1 | # microbit-samples |
LancasterUniversity | 1:2ee7e607faaa | 2 | |
LancasterUniversity | 1:2ee7e607faaa | 3 | A collection of example programs using the micro:bit runtime. |
LancasterUniversity | 1:2ee7e607faaa | 4 | |
LancasterUniversity | 2:5b2cd31ac474 | 5 | The source folder contains a selection of samples demonstrating the capabilities and usage of the runtime APIs. |
LancasterUniversity | 2:5b2cd31ac474 | 6 | To select a sample, edit the `MicroBitSamples.h` file in the source folder and uncomment the line matching the |
LancasterUniversity | 2:5b2cd31ac474 | 7 | sample you wish to use. Please be sure to note that only one sample is selected at a time. |
LancasterUniversity | 2:5b2cd31ac474 | 8 | |
LancasterUniversity | 1:2ee7e607faaa | 9 | ## Overview |
LancasterUniversity | 1:2ee7e607faaa | 10 | |
LancasterUniversity | 1:2ee7e607faaa | 11 | 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. |
LancasterUniversity | 1:2ee7e607faaa | 12 | |
LancasterUniversity | 1:2ee7e607faaa | 13 | 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. |
LancasterUniversity | 1:2ee7e607faaa | 14 | |
LancasterUniversity | 1:2ee7e607faaa | 15 | ## Links |
LancasterUniversity | 1:2ee7e607faaa | 16 | |
LancasterUniversity | 1:2ee7e607faaa | 17 | [micro:bit runtime docs](http://lancaster-university.github.io/microbit-docs/) | [microbit-dal](https://github.com/lancaster-university/microbit-dal) | [uBit](https://github.com/lancaster-university/microbit) |
LancasterUniversity | 1:2ee7e607faaa | 18 | |
LancasterUniversity | 1:2ee7e607faaa | 19 | ## Build Environments |
LancasterUniversity | 1:2ee7e607faaa | 20 | |
LancasterUniversity | 1:2ee7e607faaa | 21 | | Build Environment | Documentation | |
LancasterUniversity | 1:2ee7e607faaa | 22 | | ------------- |-------------| |
LancasterUniversity | 1:2ee7e607faaa | 23 | | ARM mbed online | http://lancaster-university.github.io/microbit-docs/online-toolchains/#mbed | |
LancasterUniversity | 1:2ee7e607faaa | 24 | | yotta | http://lancaster-university.github.io/microbit-docs/offline-toolchains/#yotta | |
LancasterUniversity | 1:2ee7e607faaa | 25 | |
LancasterUniversity | 1:2ee7e607faaa | 26 | ## BBC Community Guidelines |
LancasterUniversity | 1:2ee7e607faaa | 27 | |
LancasterUniversity | 2:5b2cd31ac474 | 28 | [BBC Community Guidelines](https://www.microbit.co.uk/help#sect_cg) |