Example display component code from http://lancaster-university.github.io/microbit-docs/advanced/#using-components-directly
Dependencies: microbit
This is the Display Component example from
the Official micro:bit DAL docs
Diff: main.cpp
- Revision:
- 0:0c37474c8541
diff -r 000000000000 -r 0c37474c8541 main.cpp --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/main.cpp Wed Apr 20 14:01:36 2016 +0000 @@ -0,0 +1,13 @@ +/* See + * http://lancaster-university.github.io/microbit-docs/advanced/ + * for docs about using the micro:bit library +*/ +#include "MicroBit.h" + +MicroBitDisplay display; + +int main() +{ + while(1) + display.scroll(":)"); +} \ No newline at end of file