Added license

This commit is contained in:
2020-12-25 17:09:17 +01:00
parent 782750a1e4
commit d51af2e64c
2 changed files with 680 additions and 2 deletions

View File

@@ -1,9 +1,12 @@
/******************************************************
* (C) 2020 Dirk Jahnke (dirk.jahnke@mailbox.org)
******************************************************/
#include <Arduino.h>
#include <SPI.h>
#include <Ethernet.h>
#include <PubSubClient.h>
#include <ArduinoJson.h>
#include <string.h>
// Update these with values suitable for your network.
byte mac[] = { 0xDE, 0xED, 0xBA, 0xFE, 0xFE, 0xEA };
@@ -189,7 +192,8 @@ void setup()
// Initialize serial port
Serial.begin(9600);
while (!Serial) continue;
Serial.println(F("Arduino Door Bell MQTT Gateway started."));
Serial.println(F("DoorbellGW Copyright (C) 2020 Dirk Jahnke"));
Serial.println(F("Door Bell MQTT Gateway started."));
mqttClient.setServer(mqttServerIP, 1883);
mqttClient.setCallback(mqttReceiveMessage);