example
Fork of mbed-os-example-mbed5-blinky by
Revision 32:799d19f6387a, committed 2017-03-28
- Comitter:
- TomoYamanaka
- Date:
- Tue Mar 28 14:14:25 2017 +0900
- Parent:
- 31:d960851a7d2c
- Child:
- 33:c7cd79a8b9e2
- Commit message:
- test
Changed in this revision
| main.cpp | Show annotated file Show diff for this revision Revisions of this file |
--- a/main.cpp Tue Mar 14 14:00:04 2017 +0000
+++ b/main.cpp Tue Mar 28 14:14:25 2017 +0900
@@ -1,12 +1,15 @@
#include "mbed.h"
DigitalOut led1(LED1);
+DigitalOut led4(LED4);
// main() runs in its own thread in the OS
int main() {
while (true) {
led1 = !led1;
wait(0.5);
+ led4 = !led4;
+ wait(0.5);
}
}
