// Necessary to avoid multiple includes of this header #ifndef __CodeRacer_WEBSERVER_H__ #define __CodeRacer_WEBSERVER_H__ #include "CodeRacer_MKII.h" #include #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! 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