A program for the BBC MicroBit that displays temperature and compass headings.

Dependencies:   microbit

Committer:
daw9000
Date:
Sun Aug 14 12:02:24 2016 +0000
Revision:
6:68e29cbd2696
Parent:
2:2f72859d7247
#2

Who changed what in which revision?

UserRevisionLine numberNew contents of line
daw9000 2:2f72859d7247 1 # microbit-starter
daw9000 0:1072edc2281c 2
daw9000 2:2f72859d7247 3 An example programs using the micro:bit runtime.
daw9000 0:1072edc2281c 4
daw9000 2:2f72859d7247 5 Using microbit.
daw9000 2:2f72859d7247 6 This program shows the Temperature which can be adjusted up or down to reflect true ambient temperature using B (down) and A (up).
daw9000 2:2f72859d7247 7 Pressing A+B together changes mode from temperature to compass text heading display to compass heading graphic. Pressing A+B will circle around the three
daw9000 2:2f72859d7247 8 modes.
daw9000 2:2f72859d7247 9 Touching pins GND and P0 dims display, GND and P1 brightens display. GND and P2 shows actual device temperature.
daw9000 2:2f72859d7247 10
daw9000 2:2f72859d7247 11 developed by daw9000. no copywrite, free for whatever...
daw9000 0:1072edc2281c 12
daw9000 0:1072edc2281c 13 ## Overview
daw9000 0:1072edc2281c 14
daw9000 0:1072edc2281c 15 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.
daw9000 0:1072edc2281c 16
daw9000 0:1072edc2281c 17 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.
daw9000 0:1072edc2281c 18
daw9000 0:1072edc2281c 19 ## Links
daw9000 0:1072edc2281c 20
daw9000 0:1072edc2281c 21 [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)
daw9000 0:1072edc2281c 22
daw9000 0:1072edc2281c 23 ## Build Environments
daw9000 0:1072edc2281c 24
daw9000 0:1072edc2281c 25 | Build Environment | Documentation |
daw9000 0:1072edc2281c 26 | ------------- |-------------|
daw9000 0:1072edc2281c 27 | ARM mbed online | http://lancaster-university.github.io/microbit-docs/online-toolchains/#mbed |
daw9000 0:1072edc2281c 28 | yotta | http://lancaster-university.github.io/microbit-docs/offline-toolchains/#yotta |
daw9000 0:1072edc2281c 29
daw9000 0:1072edc2281c 30 ## BBC Community Guidelines
daw9000 0:1072edc2281c 31
daw9000 0:1072edc2281c 32 [BBC Community Guidelines](https://www.microbit.co.uk/help#sect_cg)