diff options
Diffstat (limited to 'libraries/Bridge/examples/TemperatureWebPanel/www/index.html')
| -rwxr-xr-x | libraries/Bridge/examples/TemperatureWebPanel/www/index.html | 16 | 
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> + | 
