From 26f3ed4a11235dc01c9a24652a0c01512dbc5588 Mon Sep 17 00:00:00 2001 From: mmcwilliams Date: Sun, 24 Sep 2017 16:05:35 -0400 Subject: [PATCH] Set bwd to low --- tests/gpio.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tests/gpio.js b/tests/gpio.js index 78cd34b..dc61de8 100644 --- a/tests/gpio.js +++ b/tests/gpio.js @@ -16,6 +16,7 @@ process.on('SIGINT', () => { console.log(`Setting bwd to 0`) bwd.writeSync(0) } + process.exit() }) function releaseTest () { @@ -108,7 +109,7 @@ function stepupTest () { console.log(`Setting pin ${FWD} high`) fwd.writeSync(1) - bwd.writeSync(1) + bwd.writeSync(0) } releaseTest()