added duplicate console to mqtt

This commit is contained in:
2022-02-14 19:31:24 +01:00
parent 6cacea2df3
commit 3a2e51713b
19 changed files with 262 additions and 166 deletions
+2 -1
View File
@@ -12,6 +12,7 @@
#define MOVE_CONTROL_H
#include <cstdint>
#include <iostream>
#include <PID_v1.h>
#include <Arduino.h>
@@ -166,4 +167,4 @@ class MoveControl {
uint8_t delay = 30;
};
#endif // MOVE_CONTROL_H
#endif // MOVE_CONTROL_H
+2 -1
View File
@@ -12,6 +12,7 @@
#ifndef NETWORK_H
#define NETWORK_H
#include <iostream>
#include <WiFi.h>
#include <PubSubClient.h>
@@ -39,4 +40,4 @@ class Network {
static PubSubClient* mqtt_client;
};
#endif // NETWORK_H
#endif // NETWORK_H
+2 -4
View File
@@ -1,4 +1,4 @@
#define RHEDE
#define HW1
//Network config RHEDE
#ifdef RHEDE
@@ -15,8 +15,6 @@
#define NTP_SERVER "2.de.pool.ntp.org"
#endif //RHEDE
//Network config HW1
#ifdef HW1
#define WLAN_SSID "hw1_gast"
@@ -51,4 +49,4 @@
#define MQTT_SERVER 0x0201a8c0 //192.168.1.2
#define MQTT_PORT 1883
#define NTP_SERVER 0x0201a8c0 //192.168.1.2
#endif //TPMOBIL
#endif //TPMOBIL