aboutsummaryrefslogtreecommitdiff
path: root/libraries/Bridge/examples/TemperatureWebPanel/index.html
diff options
context:
space:
mode:
authortigoe <tom.igoe@gmail.com>2013-07-06 07:48:10 -0400
committertigoe <tom.igoe@gmail.com>2013-07-06 07:48:10 -0400
commitf8bf2ff9242624d8aeb6460065c892e543921eac (patch)
treecf6859ad3356788fe2ea4fe9b8243ebb4b984537 /libraries/Bridge/examples/TemperatureWebPanel/index.html
parentd11a723abb95002981fc7ca620fab4f7ce4bb158 (diff)
Added TemperatureWebPanel example
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>
+