mirror of
https://github.com/esp8266/Arduino.git
synced 2025-07-30 16:24:09 +03:00
Bridge library to the 1.5 format
This commit is contained in:
16
libraries/Bridge/examples/TemperatureWebPanel/www/index.html
Executable file
16
libraries/Bridge/examples/TemperatureWebPanel/www/index.html
Executable file
@ -0,0 +1,16 @@
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<script type="text/javascript" src="zepto.min.js"></script>
|
||||
<script type="text/javascript">
|
||||
function refresh() {
|
||||
$('#content').load('/arduino/temperature');
|
||||
}
|
||||
</script>
|
||||
|
||||
</head>
|
||||
<body onload="setInterval(refresh, 2000);">
|
||||
<span id="content">0</span>
|
||||
</body>
|
||||
</html>
|
||||
|
Reference in New Issue
Block a user