#ifndef Web_h #define Web_h /* Code taken from espressif ESP32 OTA Update example */ #include #include #include #include #include #include "Display.h" extern Display display_obj; class Web { private: const char* host = "esp32marauder"; const char* ssid = "MarauderOTA"; const char* password = "justcallmekoko"; bool serving = false; int num_sta = 0; const char* loginIndex = "
" "" "" "" "
" "
" "" "" "" "" "
" "
" "" "" "" "
" "
" "" "" "" "" "
" "
ESP32 Login Page
" "
" "
Username:
Password:
" "
" ""; /* * Server Index Page */ const char* serverIndex = "" "
" "" "" "
" "
progress: 0%
" ""; public: Web(); void main(); void setupOTAupdate(); }; #endif