define pins dynamically

This commit is contained in:
Lukas Heiligenbrunner 2020-11-10 17:39:40 +01:00
parent de792719ee
commit 337c65daf3
2 changed files with 1 additions and 3 deletions

View File

@ -4,6 +4,7 @@
#include <EEPROM.h>
#include "WifiManager.h"
#include "Pins.h"
void WifiManager::init(Temperature* tempsensor) {
Serial.print("Setting up Access Point");

View File

@ -51,9 +51,6 @@ public:
Temperature* getTemperatureSensor();
private:
// todo more dynamic
static const uint8_t WasserSensorPin = 14;
static const uint8_t DruckSensorPin = 12;
ESP8266WebServer server;
Temperature temp;