aboutsummaryrefslogtreecommitdiff
path: root/libraries/Bridge/examples/TemperatureWebPanel/index.html
diff options
context:
space:
mode:
Diffstat (limited to 'libraries/Bridge/examples/TemperatureWebPanel/index.html')
-rwxr-xr-xlibraries/Bridge/examples/TemperatureWebPanel/index.html16
1 files changed, 16 insertions, 0 deletions
diff --git a/libraries/Bridge/examples/TemperatureWebPanel/index.html b/libraries/Bridge/examples/TemperatureWebPanel/index.html
new file mode 100755
index 0000000..0724191
--- /dev/null
+++ b/libraries/Bridge/examples/TemperatureWebPanel/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/avr/temperature');
+ }
+</script>
+
+ </head>
+ <body onload="setInterval(refresh, 1000);">
+ Analog 0: <span id="content">0</span>
+ </body>
+</html>
+