From 0f8ff91d37271c0123998b4bfc256c98bc537ff0 Mon Sep 17 00:00:00 2001 From: Marcus Date: Tue, 30 Apr 2024 20:02:46 +0200 Subject: [PATCH] firmware wip - replace double quotes with single ones , its less confusing for geany ide --- Arduino/CanGrow/CanGrow.ino | 134 +++++++++++++++++++++--------------- 1 file changed, 79 insertions(+), 55 deletions(-) diff --git a/Arduino/CanGrow/CanGrow.ino b/Arduino/CanGrow/CanGrow.ino index 432111e..6a3ce9c 100644 --- a/Arduino/CanGrow/CanGrow.ino +++ b/Arduino/CanGrow/CanGrow.ino @@ -86,8 +86,8 @@ IPAddress WIFIip(192,168,4,20); IPAddress WIFInetmask(255,255,255,0); IPAddress WIFIgateway(192,168,4,254); IPAddress WIFIdns(0,0,0,0); -char WebUiUsername[16] = "cangrow"; -char WebUiPassword[32] = "cangrow"; +//char WebUiUsername[16] = "cangrow"; +//char WebUiPassword[32] = "cangrow"; // // System @@ -166,6 +166,9 @@ ESP8266WebServer webserver(80); /* * HTML constants for header, footer, css, ... + * Note: I know of the existence of SPIFFS and ESPHtmlTemplateProcessor, + * but to keep things simple for compiling and upload for others, I decided + * to not use those. */ // Template: const char HTMLexamplepage[] PROGMEM = R"EOF()EOF"; @@ -173,10 +176,10 @@ const char HTMLheader[] PROGMEM = R"EOF( - - + + CanGrow - + -