aboutsummaryrefslogtreecommitdiff
path: root/libraries/Bridge/examples/TemperatureWebPanel/www/index.html
diff options
context:
space:
mode:
authorFederico Fissore <f.fissore@arduino.cc>2013-07-07 17:07:32 +0200
committerFederico Fissore <f.fissore@arduino.cc>2013-07-07 17:07:32 +0200
commit320116c2867f981b0292cd10f77e2a6a7c604f49 (patch)
tree0fb8643be28b75ccfcc923ab0ca1d8b44bd134d7 /libraries/Bridge/examples/TemperatureWebPanel/www/index.html
parent0576ca80226a1fb33164aec5f355476ba9d9df70 (diff)
parent4bd034f643a0be5b9edefe731c6375183ca2da8b (diff)
Merge branch 'ide-1.5.x-discovery' into dev-ide-1.5.x-discovery
Diffstat (limited to 'libraries/Bridge/examples/TemperatureWebPanel/www/index.html')
-rwxr-xr-xlibraries/Bridge/examples/TemperatureWebPanel/www/index.html16
1 files changed, 16 insertions, 0 deletions
diff --git a/libraries/Bridge/examples/TemperatureWebPanel/www/index.html b/libraries/Bridge/examples/TemperatureWebPanel/www/index.html
new file mode 100755
index 0000000..29c2704
--- /dev/null
+++ b/libraries/Bridge/examples/TemperatureWebPanel/www/index.html
@@ -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, 1000);">
+ <span id="content">0</span>
+ </body>
+</html>
+