Try it

Dependencies:   microbit

Fork of microbit-hello-world by micro:bit

main.cpp

Committer:
vitas76
Date:
2018-10-06
Revision:
1:9a4961367343
Parent:
0:0041f35b0c4c

File content as of revision 1:9a4961367343:

/*
The MIT License (MIT)


*/

#include "MicroBit.h"

MicroBit uBit;

int main()
{
    // Initialise the micro:bit runtime.
    uBit.init();

    // Insert your code here!
    uBit.display.scroll("HELLO PETR :)");

    // If main exits, there may still be other fibers running or registered event handlers etc.
    // Simply release this fiber, which will mean we enter the scheduler. Worse case, we then
    // sit in the idle task forever, in a power efficient sleep.
    release_fiber();
}