From 9425482f8257e44ed266745565c4dec1bdae039b Mon Sep 17 00:00:00 2001 From: Elena ``of Valhalla'' Grandi Date: Fri, 24 Feb 2017 19:22:53 +0100 Subject: Fix logging sketch --- code/008-logging.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'code/008-logging.js') 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() + -- cgit v1.2.3