diff options
Diffstat (limited to 'code')
-rw-r--r-- | code/008-logging.js | 2 |
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() + |