Hello guys! I wrote a sketch that makes my arduino act as an web server, and works prettty good. The only one problem is that when web page is drawn in the client's browser's , I get for 1 second a jerky graph until the page is fully drawn.
I guess that's because I use a lot of CSS an HTML, my sketch is about 25000 bytes, and I use a lot of calls for client.print(F("some_HTML_&__CSS_statements")) function.
I've tried to reduce the calls to above function, in order to speed-up the page drawing , by joining in just a few data blocks lots of css/html statements, and place them in a string, and call client.print/println with string as parameter, but nothing works.
The compiler shows an error regarding missing 'closing " ', I just guess, that's because when it finds '\n\r' does'nt read the next line to check for 'closing " ' and treats everything as an syntax error.
That's why I need very much your help, please !!!
Is there any way to speed-up all data sending, (whitout killing my RAM) or I just reached the hardware limit of 16Hz, and nothing could be done?
Thank you very, very much, have a great day!