Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Fork of MicroBitDALImageRewrite by
MicroBit.cpp
- Committer:
- finneyj
- Date:
- 2015-04-16
- Revision:
- 1:3e0360107f98
- Parent:
- 0:47d8ba08580f
- Child:
- 4:f998ee705a20
File content as of revision 1:3e0360107f98:
#include "inc/MicroBit.h" /** * Device level Message Bus abstraction */ MicroBitMessageBus MicroBit::MessageBus; void MicroBit::init() { } /** * Constructor. * Create a representation of a MicroBit device. * @param messageBus callback function to receive MicroBitMessageBus events. */ MicroBit::MicroBit() : userLED(MICROBIT_ID_USER_LED, MICROBIT_PIN_USER_LED), display(MICROBIT_ID_DISPLAY, 5, 5), leftButton(MICROBIT_ID_LEFT_BUTTON,MICROBIT_PIN_LEFT_BUTTON) { init(); }