Test microswitch on pin 6

This commit is contained in:
mmcwilliams 2017-09-23 08:56:29 -04:00
parent 31a5b315bd
commit f419bcd36e
1 changed files with 1 additions and 1 deletions

View File

@ -48,7 +48,7 @@ function releaseTest () {
}
function microTest () {
const PIN = 5
const PIN = 6
const btn = Gpio(PIN, 'in', 'both')
console.log(`Watching input on GPIO 0${PIN}`)
let saveTime = 0