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.
Fork of Nightlight3 by
Revision 8:2be3e2339203, committed 2017-11-03
- Comitter:
- CSTritt
- Date:
- Fri Nov 03 14:11:19 2017 +0000
- Parent:
- 7:52ed5fbb1208
- Commit message:
- Fixed location of wait.
Changed in this revision
| main.cpp | Show annotated file Show diff for this revision Revisions of this file |
--- a/main.cpp Wed Nov 01 20:05:22 2017 +0000
+++ b/main.cpp Fri Nov 03 14:11:19 2017 +0000
@@ -20,8 +20,8 @@
barGraph = 0; // Start with all bars off.
while(true) {
+ wait(1.0);
barGraph = barGraph + 1; // Add one to count.
- wait(1.0);
if (barGraph == 15) {
barGraph = 0;
}
