source:
rtos_arduino/trunk/arduino_lib/libraries/Bridge/examples/TemperatureWebPanel/www/index.html
Last change on this file was 136, checked in by , 8 years ago | |
---|---|
File size: 321 bytes |
Line | |
---|---|
1 | <!DOCTYPE html> |
2 | <html> |
3 | <head> |
4 | <script type="text/javascript" src="zepto.min.js"></script> |
5 | <script type="text/javascript"> |
6 | function refresh() { |
7 | $('#content').load('/arduino/temperature'); |
8 | } |
9 | </script> |
10 | |
11 | </head> |
12 | <body onload="setInterval(refresh, 2000);"> |
13 | <span id="content">0</span> |
14 | </body> |
15 | </html> |
16 |
Note:
See TracBrowser
for help on using the repository browser.