Post about your Basic project here

Moderator: Mmiscool

User avatar
By forlotto
#48894 SKIP TLDR
Last edited by forlotto on Thu Jun 09, 2016 8:14 pm, edited 1 time in total.
User avatar
By forlotto
#48896 ok talked to mike I forgot about this... there is a little fix for issues like this called encompasing data

take your code instead of using ' use " and encompass data like so

using | | symbols

for instance
wprint  | <body bgcolor="blue"> |
User avatar
By joeman2116
#48951
forlotto wrote:ok talked to mike I forgot about this... there is a little fix for issues like this called encompasing data

take your code instead of using ' use " and encompass data like so

using | | symbols

for instance
wprint  | <body bgcolor="blue"> |


forlotto,

I tried the format but still no better results.
No background color .
No box / tables worked.
There were no errors but there was no change.
USing the old code In ver 2, background color works and tables / boxes work with colors etc
I think we need the developer to step in and help us with a working example.

joe
User avatar
By Mmiscool
#48952 There was a major problem with the 3.0 alpha 5.

Just put out a new build

Here is a simple example that dose not use a button to set the temperature. Just type a new value in the target temp field and click off of it or hit tab.

Code: Select allmemclear
SERIALPRINTLN "restart page"
cls

curr = 0
setp = 30
stat

Print "ESP8266 WiFi Thermostat "
print "Target temp="
textbox setp
print "CurrTemp="
textbox curr
print "Heater="
textbox stat
print
button "Exit", [quit]
timer 5000, [refresh]
wait


[refresh]
curr = temp(0)
SERIALPRINTLN curr
if curr < setp then
  io(po,16,1)
  stat = "On"
else
  io(po,16,0)
  stat = "Off"
end if
Wait

[quit]
timer 0
wprint "<a href='/'>Menu</a>"
end