q

Committer:
compiler2test
Date:
Thu Oct 19 15:24:51 2017 +0000
Revision:
0:8a5b0c7c53fa
Initial commit

Who changed what in which revision?

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