Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f3ba97b commit 2a3f753Copy full SHA for 2a3f753
stopwatch/stopwatch-deel-1/stopwatch-deel-1.ino
@@ -153,7 +153,7 @@ String formatTimeToString(unsigned long time) {
153
mSeconds = "0" + mSeconds;
154
}
155
156
- return hours + String(":") + formatZeros(minutes) + String(":") + formatZeros(seconds) + String(".") + mSeconds;
+ return String(hours) + ":" + formatZeros(minutes) + ":" + formatZeros(seconds) + "." + String(mSeconds);
157
158
159
/*
0 commit comments