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 d0d1f37 commit bfac0abCopy full SHA for bfac0ab
Thermometres/Yun-ds18b20/Yun-ds18b20.ino
@@ -55,9 +55,10 @@ void loop(void)
55
56
Process getTimeStampProcess;
57
getTimeStampProcess.runShellCommand(F("date -R"));
58
+ delay(10);
59
String timeStamp=String("");
60
while (getTimeStampProcess.available() > 0) {
- timeStamp.concat(String(getTimeStampProcess.readStringUntil("\n")));
61
+ timeStamp.concat(String(getTimeStampProcess.readString()));
62
}
63
timeStamp.trim();
64
Serial.println("timeStamp : "+timeStamp);
0 commit comments