-->
Page 10 of 13

Re: Wemos D1 R2 Project: Weather Observations with four gra

PostPosted: Thu Apr 19, 2018 1:36 am
by schufti
Hi,
almost ... I think it should be more like
Code: Select all...... lines continue dynamic output untill
                                        client.println("</body>\r\n");
               client.println("</html>\r\n");

Re: Wemos D1 R2 Project: Weather Observations with four gra

PostPosted: Thu Apr 19, 2018 6:01 am
by jankop
I recommend replacing tag <br /> with the tag <br>.
Code: Select allclient.println ("<body> \ r \ n");

In these commands, the \ r \ n sequence completely do not make sense, only prolongs the program and slows the display of the web page.

Re: Wemos D1 R2 Project: Weather Observations with four gra

PostPosted: Thu Apr 19, 2018 12:24 pm
by Sirquil
Thank you jankop and schufti; made the changes to project code. Appreciate the help greatly!

Do I need to remove all occurrences or just specific occurrences of "\r\n" ?

William

Re: Wemos D1 R2 Project: Weather Observations with four gra

PostPosted: Thu Apr 19, 2018 1:50 pm
by schufti
I think at least pieces of html code that you output via client.println don't need the extra "\r\n"
but as I allready said, I'm no html person ...