Files
NodeMCU_Lua/Robot_Lua/z_page4.html

54 lines
1.7 KiB
HTML

<!DOCTYPE html>
<html lang="fr" dir="ltr">
<head>
<meta charset='utf-8' name='viewport' content='width=device-width, initial-scale=1.0'>
<title>Générateur de fonction AD9833</title>
</head>
<body>
<h1>Générateur de fonction AD9833 190505.1200</h1>
<a href="/">Retour à la home page...</a><br><br><br>
Le code Lua pour cet interface se trouve dans le code HTML de cette page
et est exécuté sur le NodeMCU.<br>
Les données viennent du NodeMCU !<br><br>
<%
zout("Il reste: "..node.heap().." de RAM !<br><br>\n")
%>
<a href='?pin=F'><button id='bf'>F</button></a><br>
<a href='?pin=L'><button id='bl'>L</button></a><a href='?pin=S'><button id='bs'>S</button></a><a href='?pin=R'><button id='br'>R</button></a></br>
<a href='?pin=B'><button id='bb'>B</button></a>
<h1> Vitesse : </h1>
<a href='?pin=SL'><button id='bsl'>Low</button></a><a href='?pin=SM'><button id='bsm'>Mid</button></a><a href='?pin=SF'><button id='bsf'>Fast</button></a>
<h1> Robot : </h1>
<a href='?pin=A'><button id='ba'>A</button></a><a href='?pin=ML'><button id='bml'>ML</button></a>
<h1> Tests : </h1>
<a href='?pin=T1'><button id='bt1'>Start</button></a><a href='?pin=T2'><button id='bt2'>Reboot</button></a>
<a href='?pin=T3'><button id='bt3'>T3</button></a><a href='?pin=T4'><button id='bt4'>T4</button></a>
<style>
#bf, #bb, #bl, #br, #bs, #bsl, #bsm, #bsf, #ba, #bml, #bt1, #bt2, #bt3, #bt4{font-size:10px; position:relative; height:50px; width:50px;}
#bf, #bb {left:50px;}
h1 {font-size:15px;}
</style>
<br>Yeah... cela fonctionne vachement bien !<br><br>
<%
zout("Il reste: "..node.heap().." de RAM !<br><br>\n")
%>
</body>
</html>