Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Revision 6:44018e172a4a, committed 2021-08-01
- Comitter:
- rharding64
- Date:
- Sun Aug 01 18:15:21 2021 +0000
- Parent:
- 5:e6786b76dcbd
- Commit message:
- test half second led chaser
Changed in this revision
| main.cpp | Show annotated file Show diff for this revision Revisions of this file |
--- a/main.cpp Sun Aug 01 18:11:47 2021 +0000
+++ b/main.cpp Sun Aug 01 18:15:21 2021 +0000
@@ -16,24 +16,24 @@
myled3 = 0;
myled4 = 0;
- wait(1.0); //1 sec wait time
+ wait(0.5); //1 sec wait time
myled1 = 0;
myled2 = 1; //2nd from left LED turns ON, rest off
myled3 = 0;
myled4 = 0;
- wait(1.0);
+ wait(0.5);
myled1 = 0;
myled2 = 0;
myled3 = 1; //3rd from left LED turns ON, rest off
myled4 = 0;
- wait(1.0);
+ wait(0.5);
myled1 = 0;
myled2 = 0;
myled3 = 0;
myled4 = 1; //4th from left (right most) LED turns ON, rest off
- wait(1.0);
+ wait(0.5);
}
}