libesphttpd: added extras and example
This commit is contained in:
parent
e24b6579ff
commit
f5af169d63
29 changed files with 1185 additions and 0 deletions
15
examples/esphttpd/html/led.tpl
Normal file
15
examples/esphttpd/html/led.tpl
Normal file
|
|
@ -0,0 +1,15 @@
|
|||
<html><head><title>Test</title>
|
||||
<link rel="stylesheet" type="text/css" href="style.css">
|
||||
</head>
|
||||
<body>
|
||||
<div id="main">
|
||||
<h1>The LED</h1>
|
||||
<p>
|
||||
If there's a LED connected to GPIO2, it's now %ledstate%. You can change that using the buttons below.
|
||||
</p>
|
||||
<form method="post" action="led.cgi">
|
||||
<input type="submit" name="led" value="1">
|
||||
<input type="submit" name="led" value="0">
|
||||
</form>
|
||||
</div>
|
||||
</body></html>
|
||||
Loading…
Add table
Add a link
Reference in a new issue