Update webserver.py example
Add links to the rendered webpage to make it easier to urn the LED on and offlurch-patch-1
rodzic
2a402efc9b
commit
f24e6f9d44
|
@ -18,6 +18,9 @@ html = """<!DOCTYPE html>
|
|||
<head> <title>Pico W</title> </head>
|
||||
<body> <h1>Pico W</h1>
|
||||
<p>%s</p>
|
||||
<a href="/light/off">Turn off</a>
|
||||
<br>
|
||||
<a href="/light/on">Turn on</a>
|
||||
</body>
|
||||
</html>
|
||||
"""
|
||||
|
|
Ładowanie…
Reference in New Issue