How to use the micro:bit display without the whole microbit class. Example display component code from http://lancaster-university.github.io/microbit-docs/advanced/#using-components-directly

Dependencies:   microbit

Fork of microbit-component-display by micro:bit

main.cpp

Committer:
JonnyA
Date:
20 months ago
Revision:
0:0c37474c8541

File content as of revision 0:0c37474c8541:

/* 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(":)");
}