mirror of
https://github.com/IoTManagerProject/IoTManager.git
synced 2026-03-26 22:22:16 +03:00
fix
This commit is contained in:
@@ -1,4 +1,5 @@
|
||||
#include "Global.h"
|
||||
|
||||
#include "JsonUtils.h"
|
||||
|
||||
//==============================Objects.cpp(с данными)==================================
|
||||
@@ -23,9 +24,8 @@ AsyncWebServer server(80);
|
||||
|
||||
//AsyncEventSource events("/events");
|
||||
|
||||
#define NUM_BUTTONS 6
|
||||
boolean but[NUM_BUTTONS];
|
||||
Bounce * buttons = new Bounce[NUM_BUTTONS];
|
||||
Bounce *buttons = new Bounce[NUM_BUTTONS];
|
||||
|
||||
GMedian<10, int> medianFilter;
|
||||
|
||||
@@ -34,6 +34,9 @@ DallasTemperature sensors;
|
||||
|
||||
DHTesp dht;
|
||||
|
||||
Servo myServo1;
|
||||
Servo myServo2;
|
||||
|
||||
Adafruit_BMP280 bmp;
|
||||
Adafruit_Sensor *bmp_temp;
|
||||
Adafruit_Sensor *bmp_pressure;
|
||||
@@ -106,12 +109,9 @@ boolean udp_data_parse = false;
|
||||
boolean mqtt_send_settings_to_udp = false;
|
||||
boolean i2c_scanning = false;
|
||||
|
||||
|
||||
|
||||
//Buttons
|
||||
//boolean but[6];
|
||||
|
||||
|
||||
// Udp
|
||||
boolean udp_busy = false;
|
||||
unsigned int udp_port = 4210;
|
||||
@@ -128,7 +128,3 @@ int udp_period;
|
||||
|
||||
// i2c
|
||||
String i2c_list;
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user