aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorElena ``of Valhalla'' Grandi <valhalla@trueelena.org>2017-02-24 19:22:53 +0100
committerElena ``of Valhalla'' Grandi <valhalla@trueelena.org>2017-02-24 19:22:53 +0100
commit9425482f8257e44ed266745565c4dec1bdae039b (patch)
treeaf1110a32515e26a494e6bb73447bf9f19942dde
parentc5ebd16992dde2700d70333f22772999256903ee (diff)
Fix logging sketch
-rw-r--r--code/008-logging.js2
-rw-r--r--slides/img/logging_data.pngbin67675 -> 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
index e703f1a..55fc758 100644
--- a/slides/img/logging_data.png
+++ b/slides/img/logging_data.png
Binary files differ