From 5097ed87ea1bf22e02aea1f6715f9ef7b0867b93 Mon Sep 17 00:00:00 2001 From: mmcw-dev Date: Thu, 19 Oct 2017 19:22:21 -0400 Subject: [PATCH] Only test microswitch --- tests/gpio.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/gpio.js b/tests/gpio.js index f8992c5..4971ff7 100644 --- a/tests/gpio.js +++ b/tests/gpio.js @@ -34,7 +34,7 @@ function releaseTest () { return console.error(err) } //console.log(`Release switch val: ${val}`) - console.log(`RELEASE: ${val} ${active} ${NOW} ${saveTime}`) + //console.log(`RELEASE: ${val} ${active} ${NOW} ${saveTime}`) if (val === 0) { //console.log('closed') } else if (val === 1) { @@ -57,7 +57,7 @@ function releaseTest () { } else if (NOW - saveTime >= 1000) { console.log('Started Sequence') } - console.log(`Release closed for ${NOW - saveTime}`) + //console.log(`Release closed for ${NOW - saveTime}`) saveTime = 0 active = false }