Hi.
I would like know how I can automatically refresh a page html using using arduino.
I’m using this code that include 3 sensors, but they don’t refresh automatically.
Thank you.
arduino code.txt (8.63 KB)
Hi.
I would like know how I can automatically refresh a page html using using arduino.
I’m using this code that include 3 sensors, but they don’t refresh automatically.
Thank you.
arduino code.txt (8.63 KB)
I'm using this code that include 3 sensors, but they don't refresh automatically.
You can't push data to a client. You can ONLY respond when a client asks for new data.
You CAN use meta tags (a google search term) to cause the browser to automatically request a new page every so often.
Ok. So, how can I do it?
Clean all client.println(" <http-equiv=“refresh” content=“5”>"); and put just client.println("<refresh = 5>")?
I’m a beginner. And have something that I don’t know how do.