Saataa andagii !
This commit is contained in:
parent
48b0b4047e
commit
ddc46bdd2a
9 changed files with 40 additions and 64 deletions
|
@ -1,3 +1,4 @@
|
|||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<title>ESP 32 web page</title>
|
||||
|
@ -7,13 +8,8 @@
|
|||
<h1>Hello, world!</h1>
|
||||
<?lua
|
||||
nb = nb + 1
|
||||
console(nb.." Chargements")
|
||||
print(nb.." Chargements")
|
||||
?>
|
||||
<h1>DHT22</h1>
|
||||
<?lua
|
||||
-- print("Temp: "..s:read("temperature").." Humi: "..s:read("humidity"))
|
||||
?>
|
||||
<h1>Led</h1>
|
||||
<iframe name="fd" style="display:none"></iframe>
|
||||
<form action="ledon.lua" target="fd">
|
||||
|
@ -22,17 +18,10 @@
|
|||
<form action="ledoff.lua" target="fd">
|
||||
<button type="submit">Off</button>
|
||||
</form>
|
||||
<h1>Buzzer</h1>
|
||||
<form action="buzz.lua" target="fd">
|
||||
<button type="submit">Buzz</button>
|
||||
</form>
|
||||
<h1>Networks</h1>
|
||||
<ul>
|
||||
<?lua
|
||||
for i=0,#nets do
|
||||
print("<li>"..nets[i].ssid.."</li>")
|
||||
end
|
||||
?>
|
||||
</ul>
|
||||
<h1>Building temp</h>
|
||||
<?lua
|
||||
print("Max : ["..max_place.."] "..max_temp)
|
||||
print("Min : ["..min_place.."] "..min_temp)
|
||||
?>
|
||||
</body>
|
||||
</html>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue