Try gpio05

This commit is contained in:
mmcwilliams 2017-09-16 15:07:34 -04:00
parent 47abb3b8e5
commit 28810e761d
1 changed files with 2 additions and 2 deletions

View File

@ -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) {