Skip to content

Instantly share code, notes, and snippets.

@jakebellacera
Created June 6, 2012 18:35
Show Gist options
  • Save jakebellacera/2883786 to your computer and use it in GitHub Desktop.
Save jakebellacera/2883786 to your computer and use it in GitHub Desktop.
self.metrics = function () {
var tempUpdater = setInterval(function () {
$.get('/php/thermistor.php', function (data) {
$('#temp').html(data + '<span>&deg; F</span>');
});
}, 2000);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment