20171117_新規作成

main.cpp

Committer:
udagawa
Date:
2017-11-17
Revision:
0:41304d545e93

File content as of revision 0:41304d545e93:

#include "mbed.h"

DigitalOut led1(LED1);

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