#ifndef __CodeRacer_WEBSERVER_H__ // Necessary to avoid multiple includes of this header #define __CodeRacer_WEBSERVER_H__ #include "CodeRacer_MKII.h" #include // external library for asynchronous webserver for ESP32 #include // This is a char array containing the html code for the website. It is sent ONCE when the webserver first initializes. // The script contains various routines telling what the AJAX object should do and when. // It is strongly advised NOT to change the html text, unless you know exactly what you're doing! // In line 21, you should change your IP adress so the Webserver can work properly const char indexHTML[] PROGMEM = R"=====( CodeRacer Webserver

Welcome to the CodeRacer Webserver!

Step CountersSpeed of DrivesServo- InformationDriven DistanceAJAX Information
00000
00000

)====="; // The class declaration of the webserver class Codeserver { private: public: Codeserver(char *ssid, char *password); const char* Ssid; const char* Password; void Run(); }; extern AsyncWebServer server; #endif