led blinky example
Fork of mbed_blinky_3 by
Revision 2:16a42f4b1a64, committed 2018-08-25
- Comitter:
- RCMISbed
- Date:
- Sat Aug 25 10:17:32 2018 +0000
- Parent:
- 1:147c352ea3f6
- Commit message:
- option1
Changed in this revision
| main.cpp | Show annotated file Show diff for this revision Revisions of this file |
--- a/main.cpp Thu Aug 09 15:23:45 2018 +0000
+++ b/main.cpp Sat Aug 25 10:17:32 2018 +0000
@@ -2,11 +2,12 @@
DigitalOut myled(LED3);
+// Main loop
int main() {
while(1) {
myled = 1;
- wait(0.1);
+ wait(0.05);
myled = 0;
- wait(0.5);
+ wait(0.9);
}
}
