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 2:284c13980da8, committed 2017-11-07
- Comitter:
- charly
- Date:
- Tue Nov 07 18:27:32 2017 +0000
- Parent:
- 1:dd9657c12de6
- Commit message:
- "UHR" only on full hours
Changed in this revision
| WordClock.cpp | Show annotated file Show diff for this revision Revisions of this file |
--- a/WordClock.cpp Mon Nov 06 20:45:54 2017 +0000
+++ b/WordClock.cpp Tue Nov 07 18:27:32 2017 +0000
@@ -533,7 +533,11 @@
break;
}
case 1:{
- ein();
+ if (minute < 5) {
+ ein();
+ }else{
+ eins();
+ }
break;
}
case 2:{
@@ -581,7 +585,11 @@
break;
}
}//switch hour
- uhr();
+
+ //only on full hours
+ if (minute < 5) {
+ uhr();
+ }
//minutes 0..4 and seconds in brigtness
switch (minute%5){