Hello world program (step 0) for the nRF51 and nRF52 developer kits used in the IoT Empire research workshop.

main.cpp

Committer:
Michael Schloh von Bennewitz
Date:
2017-03-28
Revision:
0:e7d3031b16e3
Child:
1:3ce7d0b39f17

File content as of revision 0:e7d3031b16e3:

#include "mbed.h"

DigitalOut Led1(LED1);

// main() runs in its own thread in the OS
int main() {
    while (true) {
        Led1 = !Led1;
        wait(0.25);
    }
}