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.
Dependencies: microbit microbitmpr121
main.cpp
- Committer:
- owenbrotherwood
- Date:
- 2017-01-16
- Revision:
- 1:f8107f2b2b99
- Parent:
- 0:026bd8011ba6
- Child:
- 2:b65d70daef8d
File content as of revision 1:f8107f2b2b99:
#include "MicroBit.h"
#include "MicroBitMpr121.h"
MicroBit uBit;
MicroBitMpr121 mpr121();
int main()
{
uBit.init();
mpr121.init();
mpr121.enable();
mpr121.registerDump();
uBit.display.scroll("HELLO WORLD! :)");
release_fiber();
}