define pins dynamically
This commit is contained in:
parent
de792719ee
commit
337c65daf3
@ -4,6 +4,7 @@
|
||||
|
||||
#include <EEPROM.h>
|
||||
#include "WifiManager.h"
|
||||
#include "Pins.h"
|
||||
|
||||
void WifiManager::init(Temperature* tempsensor) {
|
||||
Serial.print("Setting up Access Point");
|
||||
|
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user