Beweungssensor gestestet, auch zwei parallel

erster Codeversuch verworfen
zweiter hat funtioniert
This commit is contained in:
Johannes Krug
2019-03-08 16:01:56 +01:00
parent 6091e42ecc
commit 35af5a8cc0
4 changed files with 162 additions and 6 deletions
+1 -1
View File
@@ -57,7 +57,7 @@ void loop() {
snprintf (msg, 50, "Alive since %ld milliseconds", millis());
Serial.print("Publish message: ");
Serial.println(msg);
client.publish("/home/data", "Hello asdf World");
client.publish("/home/data",msg);
delay(5000);
}