aboutsummaryrefslogtreecommitdiff
path: root/code/008-logging.js
diff options
context:
space:
mode:
Diffstat (limited to 'code/008-logging.js')
-rw-r--r--code/008-logging.js2
1 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() +