Blink ln D11
Fork of mbed-os-example-mbed5-blinky by
Diff: main.cpp
- Revision:
- 17:8a3e2ad3e409
- Parent:
- 8:bb09890333fe
--- a/main.cpp Fri Oct 28 13:15:03 2016 +0100
+++ b/main.cpp Tue Nov 01 07:58:48 2016 +0000
@@ -1,13 +1,13 @@
#include "mbed.h"
-DigitalOut led1(LED1);
+DigitalOut led1(D11);
// main() runs in its own thread in the OS
// (note the calls to Thread::wait below for delays)
int main() {
while (true) {
led1 = !led1;
- Thread::wait(500);
+ wait(0.5);
}
}
