-->
Page 2 of 5

Re: Serial Data transfer

PostPosted: Wed Oct 14, 2015 4:37 pm
by Mmiscool
The timer branch will run perioticaly. The interperter will run as usual up untill the wait command. Onece at the wait command the timer has a chance to exicute its code if the time from the last exicution has elapesed. This is why the branch it exicutes ends with a wait. You will only be able to see a web page returned when the wait commad is active.

Hopefully this explains whats going on.

Re: Serial Data transfer

PostPosted: Wed Oct 14, 2015 7:54 pm
by Mmiscool
Video explanation

Re: Serial Data transfer

PostPosted: Thu Oct 15, 2015 10:33 am
by grchild@shaw.ca
Pretty amazing what a few lines of code will do. What i want it to do is refresh the page every time my pic sends out the data probaly every second or so. All I want on the page is a Heading in larger Font"Temperature" and then right beside it have the actual reading. Is there any way to suppress the lines and the "ESP Basic Interpreter" text on the page.

Re: Serial Data transfer

PostPosted: Thu Oct 15, 2015 11:30 am
by Mmiscool
To get rid of the esp8266 basic interperter msg all you have to do is use the cls command.

This will empty the html buffer.

I personaly would not make the page update too much too quickly as you may run in to problems.

As to the size of text you can use normal html tags to controll the font.
Wprint "<h1>Tempature"
Wprint your temp data
Wprint "</h1>"