.

Committer:
mbed_official
Date:
Thu Mar 09 17:44:20 2017 +0000
Revision:
0:32997aac176c
Initial commit.
Commit copied from https://github.com/ARMmbed/mbed-os-example-bootloader-blinky

Who changed what in which revision?

UserRevisionLine numberNew contents of line
mbed_official 0:32997aac176c 1 #include "mbed.h"
mbed_official 0:32997aac176c 2
mbed_official 0:32997aac176c 3 DigitalOut led1(LED1);
mbed_official 0:32997aac176c 4
mbed_official 0:32997aac176c 5 // main() runs in its own thread in the OS
mbed_official 0:32997aac176c 6 // (note the calls to wait below for delays)
mbed_official 0:32997aac176c 7 int main() {
mbed_official 0:32997aac176c 8 while (true) {
mbed_official 0:32997aac176c 9 led1 = !led1;
mbed_official 0:32997aac176c 10 wait(0.5);
mbed_official 0:32997aac176c 11 }
mbed_official 0:32997aac176c 12 }
mbed_official 0:32997aac176c 13