tinance2-doorbot/include/main.h

43 lines
892 B
C
Raw Normal View History

2023-06-12 17:17:28 +00:00
#ifndef MAIN_H
#define MAIN_H
#include "hardware.h"
#include <Arduino.h>
#include "secrets.h"
2023-06-13 18:01:13 +00:00
#include "settings.h"
2023-06-13 18:33:44 +00:00
Settings settings;
2023-06-12 17:17:28 +00:00
#ifdef WIFI
#include "WiFi.h"
#endif
2023-06-21 19:03:58 +00:00
#ifdef LOCAL_ACL
#include "acl.h"
ACL acl = {
};
#endif
2023-06-12 17:17:28 +00:00
#ifdef WEB_SERVER
2023-06-13 18:33:44 +00:00
#include <AsyncTCP.h>
#include "ESPAsyncWebServer.h"
#include "SPIFFS.h"
#include <ArduinoJson.h>
#include <AsyncJson.h>
2023-06-12 17:17:28 +00:00
#ifdef WEB_SERIAL_DEBUG
#include <WebSerial.h>
#endif
#ifdef WEB_OTA_UPDATE
2023-06-13 10:57:40 +00:00
#include <AsyncElegantOTA.h>
2023-06-12 17:17:28 +00:00
#endif
2023-06-13 19:11:23 +00:00
#include "mainwebserver.h"
#ifdef LOCAL_ACL_API
#include "aclwebserver.h"
#endif
2023-06-12 17:17:28 +00:00
#endif
#ifdef BUZZER
#include "buzzer_ctl.h"
#endif
#endif