hello

Committer:
huskydesign
Date:
Wed Oct 31 09:26:18 2018 +0000
Revision:
0:93c385ddc62a
hello

Who changed what in which revision?

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