From 28810e761dd0541a7bcf8c51770fcf37bbc958af Mon Sep 17 00:00:00 2001 From: mmcwilliams Date: Sat, 16 Sep 2017 15:07:34 -0400 Subject: [PATCH] Try gpio05 --- tests/gpio.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/gpio.js b/tests/gpio.js index 88d655a..5638932 100644 --- a/tests/gpio.js +++ b/tests/gpio.js @@ -2,9 +2,9 @@ const Gpio = require('onoff').Gpio -const btn = Gpio(18, 'in', 'both') +const btn = Gpio(5, 'in', 'both') -console.log('Watching input on button 18') +console.log('Watching input on GPIO 05') /*btn.watch((err, val) => { if (err) {