diff --git a/WaterishOS-minimal2.0/WaterishOS-minimal2.0.ino b/WaterishOS-minimal2.0/WaterishOS-minimal2.0.ino index 34e7525..c001f1f 100644 --- a/WaterishOS-minimal2.0/WaterishOS-minimal2.0.ino +++ b/WaterishOS-minimal2.0/WaterishOS-minimal2.0.ino @@ -17,22 +17,16 @@ #include #include #include -#include #include #include #include - +#include "config.h" #include #include #include #include #include Adafruit_MCP23017 mcp; -String ssid = ""; -String password = ""; -byte InteruptPinA=1; -byte InteruptPinB=3; -byte arduinoInterrupt=1; long tslr=0; WiFiClient espClient; String nodename="devkit"; diff --git a/WaterishOS-minimal2.0/config.h b/WaterishOS-minimal2.0/config.h new file mode 100644 index 0000000..21fe2d3 --- /dev/null +++ b/WaterishOS-minimal2.0/config.h @@ -0,0 +1,5 @@ +const String ssid = ""; +const String password = ""; +const byte InteruptPinA=1; +const byte InteruptPinB=3; +const byte arduinoInterrupt=1;