An example of testing the micro:bit battery without any external components

Dependencies:   microbit

Fork of microbit-component-display by BBC

main.cpp

Committer:
JonnyA
Date:
2016-04-20
Revision:
0:0c37474c8541
Child:
1:6c9081f485dd

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