From 0fc4200f6da85355dae91bb49c54d42bc3487292 Mon Sep 17 00:00:00 2001 From: mmcwilliams Date: Sun, 17 Sep 2017 20:27:51 -0400 Subject: [PATCH] Re-add watch callback console.log --- tests/gpio.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/gpio.js b/tests/gpio.js index 26ef56c..ac46e7c 100644 --- a/tests/gpio.js +++ b/tests/gpio.js @@ -16,7 +16,7 @@ btn.watch((err, val) => { if (err) { return console.error(err) } - //console.log(`Release switch val: ${val}`) + console.log(`Release switch val: ${val}`) if (val === 1) { //console.log('open') } else if (val === 0) {