formatting changes
comments wifi manager
This commit is contained in:
@@ -1,15 +1,19 @@
|
||||
#include <Arduino.h>
|
||||
#include <Ticker.h>
|
||||
|
||||
#include "WifiManager.h"
|
||||
|
||||
bool allow;
|
||||
bool error = false;
|
||||
|
||||
/** pin config */
|
||||
static const uint8_t WasserSensorPin = 14;
|
||||
static const uint8_t DruckSensorPin = 12;
|
||||
static const uint8_t SchuetzPin = 13;
|
||||
|
||||
/** time config */
|
||||
static const int abschaltzeit = 1800; //sek
|
||||
//static const int abschaltzeit = 1800; //sek
|
||||
static const int abschaltzeit = 900; //sek
|
||||
static const int maxpumpdauer = 600; //sek
|
||||
|
||||
Ticker tick;
|
||||
@@ -143,6 +147,9 @@ void setup() {
|
||||
|
||||
Serial.println("startup sequence complete!\n");
|
||||
digitalWrite(LED_BUILTIN, HIGH);
|
||||
|
||||
WifiManager mang = WifiManager();
|
||||
mang.init();
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user