-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathAllIncludes.h
66 lines (47 loc) · 2.2 KB
/
AllIncludes.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
#pragma once
// Verwendete Bibliotheken =========================================================================//
#include "ESP8266WiFi.h" // http://esp8266.github.io/Arduino/versions/2.3.0/doc/installing.html
#include "ESP8266WiFiGeneric.h" // http://esp8266.github.io/Arduino/versions/2.3.0/doc/installing.html
#include <Dns.h> // http://esp8266.github.io/Arduino/versions/2.3.0/doc/installing.html
#include "ESPAsyncUDP.h" // http://github.com/me-no-dev/ESPAsyncUDP
#include <ESPAsyncTCP.h> // http://github.com/me-no-dev/ESPAsyncTCP
#include <ESPAsyncWebServer.h> // http://github.com/me-no-dev/ESPAsyncWebServer
#include <SPIFFSEditor.h> // http://github.com/me-no-dev/ESPAsyncWebServer
#include <ArduinoJson.h> // https://arduinojson.org
#include <TimeLib.h> // http://github.com/PaulStoffregen/Time
#include <Timezone.h> // http://github.com/JChristensen/Timezone
#include <EEPROM.h>
#include <memory>
#include "FS.h"
#include "POVdisplay.h"
#include "fonts.h" // 6x8
//#include "Font-5x8-vertikal-LSB-1.h"
extern "C" {
#include "user_interface.h"
}
// Basiskonfigurationen ==============================================================================//
// Webserver und WiFi Konfigurationen
#define CONF_VERSION 1 // 1..255 incremented, each time the configuration struct changes
#define CONF_MAGIC "flka" // unique identifier for project. Please change for forks of this code
#define CONF_DEFAULT_SSID "PHABLABS-POV"
#define CONF_DEFAULT_PWD "ABCdef123456"
#define CONF_HOSTNAME "ESPTEST"
#define CONF_ADMIN_USER "admin"
#define CONF_ADMIN_PWD "admin"
#define CONF_DEFAULT_CHANNEL 4
#define STEPS_PER_PIXEL 26
#define PIXEL_OFFSET 0
#define LED_DATA D0
#define LED_CLK D6
#define LED_ENABLE D8
#define LED_LATCH D7
#define MOTOR_A1 D1
#define MOTOR_A2 D2
#define MOTOR_B1 D3
#define MOTOR_B2 D4
#define SPACER 1
// Zeitserver etc.
#define TimeServerName "de.pool.ntp.org"
#define TimeServerPort 123
enum showContent {longtext, longdate, shortdate, shorttime, ownIP};
uint8_t speedval = 100; // Speed at Startup