diff options
-rw-r--r-- | code/008-logging.js | 2 | ||||
-rw-r--r-- | slides/img/logging_data.png | bin | 67675 -> 70420 bytes |
2 files changed, 1 insertions, 1 deletions
diff --git a/code/008-logging.js b/code/008-logging.js index d5cb2a3..971767b 100644 --- a/code/008-logging.js +++ b/code/008-logging.js @@ -26,7 +26,7 @@ setWatch(function(e) { }, 4000); }, BTN, { repeat: true, edge: 'rising' }); -setTimeout(function() { +setInterval(function() { dht.read(function(data) { entry = "- {time: " + Date.now() + diff --git a/slides/img/logging_data.png b/slides/img/logging_data.png Binary files differindex e703f1a..55fc758 100644 --- a/slides/img/logging_data.png +++ b/slides/img/logging_data.png |