Hello there, uploaded code from module 4 Learn ESP32 with Arduino pages 136 to 138
error when compiling “;” is not a valid filename
2px; cursor: pointer;}”);
#555555;}</style></head>”); this line highlighted in red
// Web Page Heading
client.println(“<body><h1>ESP32 Web Server</h1>”);
any suggestions or what more information do you need to help me
apologies, error is “;” is not a valid filename, rather than “.” is not a valid filename
I don’t have that book but I would check that you haven’t tried to copy/paste from the book itself. Whilst it is generally readable by the human eye the code would not format correctly within the IDE. Try getting the code directly from the download links given in the book.
Did you proceed as Steve mentioned?
Don’t copy the code directly from the eBook. Copy it from the link available next to the code section.
Yes, thanks for the advice Steve, despite my careful checks after copy and paste I had missed a couple of bits of unwanted text, all sorted now.