- Sun Oct 04, 2015 8:23 pm
#30511
now trying ESP-12E have same issues -- Cannot save my file!!!!
This has been my main problem since day 1 ,,, If I can't save I can't test
There must be a limit on how much you can save ? It does not even act like it trys to save the file ..
just gives blank page -- serial console log does't change .....
If I shorten the file by 50%+ it will sometimes save --- very flaky
the following will not save............if i delete all after the last </table> it will sometimes save
if it does save the Java script does not work ... active x Is blocked when load as html & must be allowed to run..
Code: Select allrfh = '15'
wprint "<!DOCTYPE HTML>"
wprint "<html lang='en-US'>"
wprint "<head><meta http-equiv='refresh' content='15' ></head>"
wprint "<script type = 'text/javascript'>"
wprint "var timeInSecs;"
wprint "var ticker;function startTimer(secs){"
wprint "timeInSecs = parseInt(secs)-1;"
wprint "ticker = setInterval('tick()',1000);}"
wprint "function tick() {"
wprint "var secs = timeInSecs;"
wprint "if (secs>0) {timeInSecs--;} else {clearInterval(ticker);"
wprint "startTimer(15);}document.getElementById('countdown').innerHTML = secs;} startTimer(15);"
wprint "</script><body><div>"
wprint "<table bgcolor='Lawngreen' border='1' cellpadding='5'>"
wprint "<th><h1>ESP8266 Blinker Thing!</h1></th>"
wprint "<td><IMG SRC='http://i.imgur.com/KS1dPa7.png' LEFT='1' WIDTH='120' HEIGHT='60' BORDER='1'></td>"
wprint "<th id='countdown'>15</th></table><br>"
wprint "<div><textarea name='cmd1s' cols='70' rows='14'></textarea></div><br>"
wprint "<div><textarea name='cmd2s' cols='70' rows='6'></textarea></div><br>"
wprint "<div><table bgcolor='Yellow' border='1' cellpadding='5'>
wprint "<tr><th>Sensor</th><th>TempC</th><th>TempF</th><th>PPMcntr</th><th>PPM__</th><th>Adj__1</th><th>Adj__2</th></tr>"
wprint "<tr><td>DS18B20P</td><td>25.9</td><td>78.6</td><td>43708</td><td>1676</td><td>1644.9</td><td>1644.2</td></tr>"
wprint "<tr><th>Probe-K</th><th>Pool-PH</th><th>PH-Adj</th><th>ADC Value</th></tr>"
wprint "<tr><td>01.0</td><td>7.0</td><td>7</td><td bgcolor='Red'>902</td></tr></table></div><br>"
wprint "<form action='' method='POST'>"
wprint "<input type='submit' name='m_do' value='BLINK' style='padding:5px;10px;'>"
wprint "<input type='submit' name='m_do' value='RD_ADC' style='padding:5px;10px;'>"
wprint "<input type='submit' name='m_do' value='TEMP_DN' style='padding:5px;10px;'>"
wprint "<input type='submit' name='m_do' value='TEMP_UP' style='padding:5px;10px;'><br>"
wprint "'CMD:'<input type='text' name='m_do' value='' maxlength='100' style='padding:5px;10px;'>"
wprint "<input type='submit' value='Submit'></form><br></body></html>
wait