HTML code problem using a 8266NodeMCU 12e and Arduino
Posted: Sun Nov 05, 2017 1:51 pm
I am trying to get a webpage to auto refresh after a period of one minute to resend the temperature and humidity. The hardware I’m using DHT 22 and I have no problems sending out to the serial monitor every minute but fail miserably trying to write some HTML to send it out as a webpage, the code I’m trying to use is: <meta http-equiv=”refresh” content=”5" /> but then I received an error
client.println("<meta http-equiv="refresh" content="10" ">);
^
exit status 1
expected ')' before 'refresh'
I thought was very standard HTML code but being so new I must be missing something very obvious.
Can any of you guys and girls point me in the right direction.
Thanking you in advance
PS this is my first post so please excuse me if I put it in the wrong place
client.println("<meta http-equiv="refresh" content="10" ">);
^
exit status 1
expected ')' before 'refresh'
I thought was very standard HTML code but being so new I must be missing something very obvious.
Can any of you guys and girls point me in the right direction.
Thanking you in advance
PS this is my first post so please excuse me if I put it in the wrong place