Added support for TMP236 analog temp sensor

This commit is contained in:
Gunnar Skjold
2020-08-28 17:46:34 +02:00
parent e71f937856
commit 5d47105951
5 changed files with 28 additions and 4 deletions

View File

@@ -217,8 +217,9 @@ var fetch = function() {
for(var id in json) {
var str = json[id];
if(typeof str === "object")
if(typeof str === "object") {
continue;
}
if(isNaN(str)) {
$('#'+id).html(str);
} else {