Browse Source

Show date after waiting 1sec in loop

DricomDragon 5 years ago
parent
commit
bc1c1d5cac
1 changed files with 1 additions and 0 deletions
  1. 1 0
      prog/sources/setup-loop.cpp

+ 1 - 0
prog/sources/setup-loop.cpp

@@ -46,6 +46,7 @@ void setup (USER_MODE) {
 }
 
 void loop (USER_MODE) {
+	busyWaitDuring(MODE_ 1000);
 	gotoLineColumn(MODE_ 1, 0);
 	printString(MODE_ "Date:");
 	printUnsigned(MODE_ millis(MODE));