Page 4 of 5
Re: Serial Data transfer
Posted:
Sat Oct 24, 2015 1:09 am
by grchild@shaw.ca
What am am trying to get rid of is the horizontal rule. When I get the first reading i get 1 horizontal rule, the next time the browser update it shows 2 horizontal rules, each time it refreshes it adds another rule. How can I suppress this. I cant see any <hr> in the code.
Geoff
Re: Serial Data transfer
Posted:
Sat Oct 24, 2015 1:15 am
by Mmiscool
please post your code so I can track down what is creating the <hr>.
This might be some thing that needs to be fixed in the interpreter but is difficult to track down with out code.
Re: Serial Data transfer
Posted:
Sat Oct 24, 2015 9:31 am
by grchild@shaw.ca
Here it is Thanks
Code: Select allcls
bla = 0
timer 2500 [update.Values]
wprint |<meta http-equiv="refresh" content="5; url=./input" />|
wprint "<h1>Temperature = "
wprint htmlvar(bla)
wprint "</h1>"
wait
[update.Values]
input "in" bla
wait
Re: Serial Data transfer
Posted:
Sat Oct 24, 2015 5:30 pm
by Mmiscool
Just posted a new build. Should not create that <hr> on each input.
Give it a shot. If you don't have the latest you might still have a release wich some major bugs that have been fixed recently.