+//#include "struct.h"
+#include "eepromsettings.h"
// Update these with values suitable for your network.
const char* ssid = "Andreas-Grabner.NET";
@@ -16,6 +18,76 @@ WiFiClient wifiClient;
PubSubClient client(wifiClient);
+// Webserver
+WiFiServer server(80);
+String header;
+
+// Auxiliar variables to store the current output state
+String output26State = "off";
+String output27State = "off";
+
+// Assign output variables to GPIO pins
+const int output26 = 26;
+const int output27 = 27;
+
+/* Store all string in the FLASH storage to free SRAM.
+The P() is a function from Webduino.
+*/
+P(Page_start) = "Web_EEPROM_Setup\n";
+P(Page_end) = "";
+
+P(Http400) = "HTTP 400 - BAD REQUEST";
+P(Index) = "index.html
This is your main site!
The code is found in the indexHTML() function.
You can add more sites if you need. Please see the well documented source code.
Use the following link to setup the network.
NETWORK SETUP";
+
+P(Form_eth_start) = "